In <c45945dd.0307191349.23de1e4cposting.google.com > peterjb wrote:
Why is it a hack solution? It sounds like you need to look some more at> looked at the code for RoundTransparentWindow from the Apple developer
> site, and I've tweaked it to display a non-movable, transparent window
> (no images or controls). But there are two problems: one, the corners
> on this window are square and sharp. I want to round them. Two, any
> content in the window is equally as transparent as the window itself.
> I've considered using a rounded rectangle image for the background of
> the window, but this is kind of a hack solution.
the code for RoundTransparentWindow. There are no corners on a circle,
so it's hard to see what you're going on about. And the example is very
straightforward. You make the window background clearColor, and then
draw whatever you like on top of that. Where there's clearColor, you're
transparent. Where there isn't, you're not. What's hard? m.
matt neuburg, phd = [email]matttidbits.com[/email], [url]http://www.tidbits.com/matt[/url]
REALbasic: The Definitive Guide! 2nd edition!
Subscribe to TidBITS. It's free and smart.