• 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 dialog in CarbonLib App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa dialog in CarbonLib App


  • Subject: Cocoa dialog in CarbonLib App
  • From: Sanford Selznick <email@hidden>
  • Date: Fri, 22 Sep 2006 15:41:42 -0700

Hello,

I'm displaying a Cocoa dialog from a plug-in that's called from an old CFM application. The dialog is in a nib and works perfectly.

However, the Carbon dialog that was front-most before my Cocoa dialog displayed is all messed up. It doesn't get update events, and doesn't close properly (instead it orders itself to the back of all the windows.)

I've read the Carbon-Cocoa integration guide. I did not see how to get Cocoa to go away and leave the Carbon dialog in the state it was in before my Cocoa dialog displayed.

  Any ideas?

Thank you,
  Sanford

PS - Before displaying my dialog I am calling [NSApplication sharedApplication] to initialize NSApp, and I am allocating/initializing an autorelease pool. I close my dialog with orderOut, close and NSApp's stopModal. I'm also releasing the pool after my dialog is closed.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: Adobe apps crash after -[NSWorkspace launchApplication:]
  • Next by Date: Re: Preventing a drag in draggingSourceOperationMaskForLocal: not working
  • Previous by thread: Re: NSDatePicker and NSNull
  • Next by thread: Re: Cocoa dialog in CarbonLib App
  • Index(es):
    • Date
    • Thread