Cocoa Window menu with Carbon windows?
Cocoa Window menu with Carbon windows?
- Subject: Cocoa Window menu with Carbon windows?
- From: John Mikros <email@hidden>
- Date: Tue, 28 Aug 2007 17:05:16 -0700
Hello all,
I have an app that installs a cocoa menu bar (ie, it's created by
loading a cocoa nib). This same app creates several Carbon windows.
Is there any way that those windows can be automatically added to the
Window menu?
I tried passing the flag kWindowInWindowMenuAttribute to the call to
CreateNewWindow(), but that has no effect. (I didn't really expect
this to work)
I tried creating an NSWindow using initWithWindowRef: , but that also
did not add the window to the window menu, and also had the effect
that ShowWindow() no longer works on the original WindowRef -- only
makeKeyAndOrderFront: works afterwards.
Any ideas? Is my only option to manage the window menu myself?
thanks for any help
-john
_______________________________________________
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