>I still havent bought Inside Macintosh (by the way, if any one knows a place >on the net where to buy it, Id be glad to know it) and I am wondering how >to use >FN GETNEWCWINDOW > > 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&=GetNewCWindow(windowID,wStorage&,behind) 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 mel@...