On or about 4/8/09 11:25 PM, thus spake "Andrew Farmer" <andf...@gmail.com>:

> On 08 Apr 09, at 08:03, Matt Neuburg wrote:
>> On Tue, 7 Apr 2009 12:37:05 -0400, Walker Argendeli
>> <heckler0...@bellsouth.net> said:
>>> I am making a simple application that consists of a small HUD window
>>> that needs to float above another application.  How do I make it so
>>> that A. it floats above everything, and B. when I switch to another
>>> application, it remains on top.
>> 
>> Search the archives for example code showing how your app can be
>> notified
>> when an app switch occurs... m.
> 
> This isn't necessary, actually. Setting the window's level to
> NSFloatingWindowLevel or so, and setting it to not hide on deactivate,
> should be sufficient to make it stay above everything.

Really? He wants the HUD window to float above a certain *particular*
application ‹ different from his own ‹ and vanish when any other application
is frontmost. What, in your proposed architecture, would make it do that? m.

-- 
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
http://www.tidbits.com/matt/default.html#applescriptthings
Take Control of Customizing Leopard, http://tinyurl.com/2t9629
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to