[futurebasic] Re: [FB] Running in 10.5

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Bernie <fblist.bw@...>
Date: Mon, 14 Jan 2008 14:38:07 +0000
Jay et al,

HandleEvents, window/button statements and your 4-line program all  
work in Leopard - no problems. The tips are the way we should all be  
writing carbon apps nowadays. One exception is short examples for  
posting to this list.

Bernie



Jay wrote:

> Nice outline. This may help me get there, eventually.
>
> I know I'm behind the times, but would you clarify for me.... Does  
> this mean handleevents, window and button statements will not work  
> in 10.5 (Rosetta), or merely that the new way is better/preferable?  
> In Leopard, is there no possibility of running a 4-line program like  
> I proposed, without firing up IB?
>
>
> On Jan 14, 2008, at 4:32 AM, Bernie wrote:
>
>> FB apps run just fine here on MacBook Pro / OS X 10.5.1.
>>
>> Tips:
>> [1] Use RunApplicationEventLoop() instead of do : HandleEvents :  
>> until gFBQuit.
>> [2] Use carbon event handlers instead of    on xxxxxx fn  
>> XxXxxxxx    (WNE) handlers.
>> [3] Build UI with Interface Builder instead of FB's appearance  
>> window/appearance button statements.
>> [4] Give all windows the standard handler and compositing attributes.
>> [5] Use WindowIDs and ViewIDs instead of FB's window and button  
>> numbers.
>