I have a control:

ControlPtr     pButton;
pButton = ::CtlNewControl( (void**)&mFormPtr, TAB_FORM_BUTTON_MIN_ID+i,
buttonCtl, tabsNames[i].CString(),                                i*uwWidth+1,
12, uwWidth-1, 10, ::FntGetFont(), 0, false );

ControlStyleType is buttonCtrl.  The ButtonFrameType specifies the type of box
and I would like to set rectangleButtonFrame but I don't know how to do it in
Palm OS 5.0 (earlier it was possible to direct access to the atributes:
pButton->attr.frame = rectangleButtonFrame)
--
Regards,
Lukasz Iwanicki


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

Reply via email to