• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa Window menu with Carbon windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Blurry view from cacheDispalyInRect:toBitmapImageRep: [SOLUTION]
  • Next by Date: Re: NSXMLDocument freezes UI
  • Previous by thread: Re: Blurry view from cacheDispalyInRect:toBitmapImageRep: [SOLUTION]
  • Next by thread: NSXMLDocument Crashing
  • Index(es):
    • Date
    • Thread