Hi Herman

The 'ID' can be any number you wish...

so can the 'group'......

0,0 for the width and height, if you want them to be
taken care of automatically

All the other parameters are pretty obvious.

Be sure to use the new form pointer in all further
calls

Regds
Nitin

--- Herman Badenhorst <[EMAIL PROTECTED]>
wrote:
> CtlNewControl
> 
> ControlType *CtlNewControl (void **formPP, UInt16
> ID, ControlStyleType
> style, const Char *textP, Coord x, Coord y, Coord
> width, Coord height,
> FontID font, UInt8 group, Boolean leftAnchor)
> 
> Hi group, i'm having difficulties to add a new
> button on a form dynamically.
> 
> Style = buttonCtl
> 
> What must the ID be?
> 
> And how do one actually call this function?
> 
> Thanks
> 
> Herman
> 
> -- 
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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

Reply via email to