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

Re: Cocoa dialog in CarbonLib App


  • Subject: Re: Cocoa dialog in CarbonLib App
  • From: "Jaime Rios" <email@hidden>
  • Date: Sat, 23 Sep 2006 12:31:12 -0400

Hi,
What application is loading your plugin? I'm assuming that this CFM
application is at least using Carbon. Did you create this application
or is it something like FileMaker Pro?

If I understand this correctly, you have a plugin that is being loaded
by a Carbon application. I am assuming that the plugin is Mach-O
Bundle and you are calling the Cocoa code from another bundle. Is this
correct or am I off?

-Jaime

On 9/22/06, Sanford Selznick <email@hidden> wrote:
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.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________
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: NSPopUpButton in a NSView in a NSCell of a NSTableView Solved
  • Next by Date: Fwd: How much does NSObject's bind:toObject:withKeyPath:options: do?
  • Previous by thread: Cocoa dialog in CarbonLib App
  • Next by thread: Re: Cocoa dialog in CarbonLib App
  • Index(es):
    • Date
    • Thread