--- Brad Figler <[EMAIL PROTECTED]> wrote:
> I am using the following code but the ActiveForm is coming 
> back as NULL.
> 
> FormType *form = FrmGetActiveForm();
> ...
> I do not know the gadget ID, nor do I have access to the 
> form!

I wonder why you don't know the gadget ID since you created that gadget
and gave it an ID when you created it.

Something that might help you is to use FrmGetFormPtr() instead of
FrmGetActiveForm().  The active form is not always the form you think
is active.


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

Reply via email to