Dynamically creating a gadget

2008-05-28 Thread Steve Achelis
I need to dynamically (i.e., at run time) create a gadget on my form. I can use CtlNewControl() to create buttons, checkboxes, triggers (i.e., the things defined in ControlStyleType), but I can't figure out how to create a gadget (or label, for that matter). Any ideas? Steve -- For informa

Re: Dynamically creating a gadget

2008-05-28 Thread Steve Achelis
Duh, as soon as I posted the message I found the answer: FrmNewGadget(). Steve Steve Achelis <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I need to dynamically (i.e., at run time) create a gadget on my form. I can > use CtlNewControl() to create buttons, checkboxes, triggers (

Re: Dynamically creating a gadget

2008-05-28 Thread Steve Achelis
Grep'n them is only good if you know what you're looking for... Aaron Ardiri <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Duh, as soon as I posted the message I found the answer: FrmNewGadget(). > > makes you wish you "grep'd" the headers hey? :)) > > // az "*cough*, *sneeze

Re: Dynamically creating a gadget

2008-05-28 Thread Mark Smith
"Steve Achelis" <[EMAIL PROTECTED]> wrote: >Grep'n them is only good if you know what you're looking for... Looking for a function declaration that uses a Gadget: C:> find . -name "*.h" -exec egrep Gadget {} ; | egrep extern extern void *FrmGetGadgetData(const FormType *formP, UInt16 objIndex) ex

Re: Dynamically creating a gadget

2000-11-16 Thread Aaron Ardiri
> Grep'n them is only good if you know what you're looking for... grep -i gadget *.h "grep" is only good if you know how to use it :P // az [EMAIL PROTECTED] http://www.ardiri.com/<--- free games! -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Dynamically creating a gadget

2000-11-15 Thread Mark Smith
"Steve Achelis" <[EMAIL PROTECTED]> wrote: >Grep'n them is only good if you know what you're looking for... Looking for a function declaration that uses a Gadget: C:> find . -name "*.h" -exec egrep Gadget {} ; | egrep extern extern void *FrmGetGadgetData(const FormType *formP, UInt16 objIndex) e

Re: Dynamically creating a gadget

2000-11-15 Thread Steve Achelis
Grep'n them is only good if you know what you're looking for... Aaron Ardiri <[EMAIL PROTECTED]> wrote in message news:30272@palm-dev-forum... > > > Duh, as soon as I posted the message I found the answer: FrmNewGadget(). > > makes you wish you "grep'd" the headers hey? :)) > > // az "*cough*,

Re: Dynamically creating a gadget

2000-11-15 Thread Aaron Ardiri
> Duh, as soon as I posted the message I found the answer: FrmNewGadget(). makes you wish you "grep'd" the headers hey? :)) // az "*cough*, *sneeze*.. must not die... coding" [EMAIL PROTECTED] http://www.ardiri.com/<--- free games! -- For information on using the Palm Developer Forums,

Re: Dynamically creating a gadget

2000-11-15 Thread Steve Achelis
Duh, as soon as I posted the message I found the answer: FrmNewGadget(). Steve Steve Achelis <[EMAIL PROTECTED]> wrote in message news:30270@palm-dev-forum... > > I need to dynamically (i.e., at run time) create a gadget on my form. I can > use CtlNewControl() to create buttons, checkboxes, tri

Dynamically creating a gadget

2000-11-15 Thread Steve Achelis
I need to dynamically (i.e., at run time) create a gadget on my form. I can use CtlNewControl() to create buttons, checkboxes, triggers (i.e., the things defined in ControlStyleType), but I can't figure out how to create a gadget (or label, for that matter). Any ideas? Steve -- For informat