[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 14:21:42 +0000
Steve wrote:
> 
> >Probably my misunderstanding, but I can’t see the use of the buildWindow function and call to RunApplicationEventLoop().
> 
> If you need more convincing, the amended demo now has more carbon features:
> 
> /*
>   Demonstrates calling a Cocoa app from a Carbon app.
>   Written by S. Van Voorst   {20120430}
>   Revised   {20161106}
> */
> 

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.