Hi, I have a requirement to have the main window for a certain application to stay on top of all other windows. What I found out is that if I use anything higher than kCGNormalWindowLevel for the NSWindow level, I achieve the expected result (for instance: kCGFloatingWindowLevel). However, Spaces doesn't work properly. Basically, in this case I can't see the window on Spaces anymore, for instance, if I try to show all Application Windows (Expose, F9), the window is not displayed.
Suggestions? #define NSNormalWindowLevel kCGNormalWindowLevel #define NSFloatingWindowLevel kCGFloatingWindowLevel #define NSSubmenuWindowLevel kCGTornOffMenuWindowLevel #define NSTornOffMenuWindowLevel kCGTornOffMenuWindowLevel #define NSMainMenuWindowLevel kCGMainMenuWindowLevel #define NSStatusWindowLevel kCGStatusWindowLevel #define NSModalPanelWindowLevel kCGModalPanelWindowLevel #define NSPopUpMenuWindowLevel kCGPopUpMenuWindowLevel #define NSScreenSaverWindowLevel kCGScreenSaverWindowLevel #define NSDockWindowLevel kCGDockWindowLevel Andre _______________________________________________ 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