Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Using the menubar to show something
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using the menubar to show something



Well my intention was to display another clock there but I suppose that will
annoy the users. The dock is out of the option since Mac OS 9 doesn't have a
dock and my app must run on both oses.

For such things, there's no really good solution. If the overlay window style has been ported back to CarbonLib yet (last I checked it was X-only), that might be your best bet, but you'll have a hard time calculating the correct position to put it without it obliterating anything.

Is a tranparent window an invisible window? A bit as what DragThing uses for
it's docks?

I don't know any recent version of DragThing, but "invisible" windows (i.e. hidden ones) are something different from a transparent overlay window. An overlay window basically just has no frame and doesn't erase its body area. You can draw into it using Core Graphics on X and it will look like drawing into the window manager port on 9, with the difference that the OS won't erase it if a window is moved across it. But since CG isn't on 9, I guess you'll either have to drop support for 9, or write two versions.

If it is then that is intresting. Much better for my skin support.

Another option would be using a custom WDEF on a system-global floating window that generates its structure region based on the dhape of the time you're displaying. Then it'd look almost like a transparent window. But that would probably be a little slow.
--
Cheers,
-- M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.weblayout.com/witness




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.