I answer to myself:
(one of possible ways)

FormPtr frm;
ScrollBarPtr scl;

   ...
   scl=(ScrollBarPtr)CtlNewControl (&frm, id, buttonCtl, "abc", 2, 149,
5, 12, stdFont, 0, true);
   frm->objects[frm->numObjects-1].objectType=frmScrollBarObj;
   scl->bounds.topLeft.x=149; scl->bouds.topLeft.y=13;
   scl->bounds.extent.x=5; scl->bounds.extent.y=12;
   scl->id=id;
   scl->attr.usable=1; scl->attr.visible=1;
   scl->value=0; scl->minValue=0; scl->maxValue=10;
   scl->pageSize=1;
   ...

Hynek

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

Reply via email to