> Huh? FrmGetObjectPtr() is the proper way to get a form
> pointer? Well ... no. It's the proper way to get a pointer to
> an object that lives in a given form.
>
> I still don't see no GetObjectPtr() in the API docs. You
> say it's in sample source code? Perhaps the sample
> source code has (as I suggested) GetObjectPtr() as
> a wrapper for something like:
>
> FrmGetObjectPtr(FormGetFormPtr(), FrmGetObjectIndex(ID));
>
> ... but I'd have to see the code for GetObjectPtr(). It's
> gotta be somewhere since it isn't part of the actual Palm API.
it could be a #define (for ease) in the sample apps, but, i aint
bothered to look :P either way, it is not an API call.
#define GetObjectPtr(x) FrmGetObjectPtr(FrmGetActiveForm(),
FrmGetObjectIndex(FrmGetActiveForm(), x));
who knows? :))
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/