Hi everybody,

I stuck with a window frame doing it in the first time. The frame type is
specified explicitly in the WinCreateWindow function but no frame is visible
around. What is wrong with that frame?

static WinHandle CreateWindow (UInt16 winIndex, UInt16 *errP)
{
 WinHandle win;
 RectangleType *bounds = MemPtrNew(sizeof(RectangleType));

 RctSetRectangle (bounds,  0  /*Coord left*/,
              50  /*Coord top*/,
              159 /*Coord width*/,
              70  /*Coord height*/);
 win = WinCreateWindow (bounds, rectangleFrame,
            0 /*nonmodal*/, 1 /*focusable*/, errP);
 WinSetDrawWindow(win);

 return win;
}




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to