Im sorry in the Utils.c you have..
void * GetObjectPtr                     // (out) pointer to the object
(
        UInt16  objectID                // ID of the object you want the pointer fo
)
{
        FormPtr frmP;

        frmP = FrmGetActiveForm();
        return ( FrmGetObjectPtr ( frmP, FrmGetObjectIndex ( frmP, objectID )));
}
as for what i can see..
extern void *FrmGetObjectPtr (const FormType *formP, UInt16 objIndex)
                                                        
SYS_TRAP(sysTrapFrmGetObjectPtr);

extern void FrmGetObjectBounds (const FormType *formP, UInt16 objIndex,
        RectangleType *rP)
                                                        
SYS_TRAP(sysTrapFrmGetObjectBounds);

is this what you say would fix the problem..
Thanks




>From: Steve Mann <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Subject: Re: Popup Handling
>Date: Wed, 04 Sep 2002 12:01:05 -0700
>
>>my question is where is it that popupTriggerCtl is /should be defined..
>
>It's defined in the system file Control.h. You don't seem to be including 
>that file in your project.
>
>Also, this statement may or may not work, depending on your compiler 
>settings.
>
>if ( ctlP->style == popupTriggerCtl )
>
>It accesses a system structure directly, something that was allowed when we 
>wrote the book, but is a Bad Thing now. You should look at FrmGetObjectType 
>to solve that problem.
>
>
>Regards,
>Steve Mann
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe, 
>please see http://www.palmos.com/dev/support/forums/




_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.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