[futurebasic] Re: [FB] LaunchingCocoaAppFromCarbonApp

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2016 : Group Archive : Group : All Groups

From: Bernie <bernie.fblist@...>
Date: Sun, 6 Nov 2016 17:54:24 +0000
Steve wrote:
> > I need convincing what the objective is. If it’s to have an app that is both Carbon and Cocoa, there are a couple of issue which need ironing out.
> > 1. Launch the above demo, click ‘Do Something Carbon’, followed by 'Launch Cocoa’. Choose Quit from the application menu doesn’t quit the app.
> > 2. Add a text field to the Carbon window, click ‘Launch Cocoa’ and try to enter text into the text field.
> Try this one.  A cocoa loop stopper was added to the window using an NSApp method.  Should be able to use text field and quit the app as expected.

Yep. That seems to fix the two bugs mentioned.

One other issue…  Hit the 'Launch Cocoa’ button then click the Cocoa window close button. The Cocoa window remains in background with its buttons unresponsive.