[futurebasic] Re: [FB] FN GETNEWCWINDOW

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1999 : Group Archive : Group : All Groups

From: Mel & Carol Patrick <mel@...>
Date: Fri, 21 May 1999 09:42:42 -0700
>I still haven’t bought Inside Macintosh (by the way, if any one knows a place
>on the net where to buy it, I’d be glad  to know it) and I am wondering how
>to use
>	According to the Hanbook, it should be used this way : wnd1Ptr&= FN
>GETNEWCWINDOW(resID%,wStPtr&,wnd2Ptr&). But what does wStPtr& and wnd2Ptr&
>represent ?

According to my book, its :


cWndPtr& - a window pointer (null means it could not do it)
windowID - resource ID of type _"WIND" template to create
wStorage& - address of a CWindowRecord, NIL=allocate one
behind -   -1=in front, NIL=in back

So you'd probably do it something like this :

WndPtr&=FN GETNEWCWINDOW(128,0,-1)

If WndPtr& was not zero, you got one.

Mel Patrick