Hi,
I have a background application which displays a floating utility window on request via hotkey. If the user clicks any item in my window, the window of the formerly front application gets deactivated. This is unfortunate because the utility window should do something in the other programs window. If however the command-key is pressed, then the window below stays in active state, exactly the way I need it. Under Carbon the behavior of utility windows is different. You can click it and the other programs window never gets activated without the need to hold the command-key. If I set [self setIgnoresMouseEvents:YES]; in the init method of my window, then I can avoid deactivation, but unfortunately I do not receive the mouseDown events any longer. Is there a clean way in Cocoa to make a globally floating utility window behaving the same way as a Carbon utility window behaves?
Thanks a lot for any insights.
Peter
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to