What is the equivalent Cocoa window level of Carbon kUtilityWindowClass?
What is the equivalent Cocoa window level of Carbon kUtilityWindowClass?
- Subject: What is the equivalent Cocoa window level of Carbon kUtilityWindowClass?
- From: Volker Schumacher <email@hidden>
- Date: Thu, 19 Jul 2012 21:47:08 +0200
Hi,
I am working on a cocoa application that creates both normal cocoa windows and cocoa windows that are initialized with carbon windows. All windows should be floating above all applications. For the cocoa windows i set the window level to NSTornOffMenuWindowLevel, and for the carbon windows i use kUtilityWindowClass. Both works fine, windows are floating above other applications, but the problem is that carbon and cocoa windows don't have the same window level, so carbon windows will always float on top of cocoa windows. is there a way of giving both window types the same window level without loosing the floating above other apps? i guess since kUtilityWindowClass seems to the only window class which enables floating about other apps in carbon, i am looking for its equivalent in cocoa...
thanks,
volker
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden