I use the List draw callback for 5 different forms and the current form ID
is used to determine how the list is displayed. If I get a specific form I
will have to attempt to get a ptr to each of the possibly active forms. I
guess its possible (if it does not t always return NULL like
FrmGetActiveForm) provided I test each form to see if its currently in use.
It still doesn't answer why FrmGetActiveForm no longer works in this context
on OS >= 3.3.
-----Original Message-----
From: Richard Burmeister <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Friday, April 28, 2000 11:34 AM
Subject: Re: FrmGetActiveForm Weirdness
>From: "Dave Lippincott" <[EMAIL PROTECTED]>
>> So I guess within a draw callback and on OS 3.3+ I can't get any
>> object pointers because FrmGetActiveForm only returns NULL.
>> Whats an engineer to do?
>
>Why not use this: FormPtr frm = FrmGetFormPtr( YourForm );
>As you have seen, FrmGetActiveForm doesn't always return what you expect
>because your form may not be the active form.
>
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html