Hi,

I've been programming with OnboardC v1.008 and have gotten errors that
lead me to believe that the 'LstSetDrawFunction' function may, in fact, 
not exist.  While I've seen it in sample code and in documentation, I 
can't seem to get my code to link to it on my Palm IIIc running OS 3.5.  
I've fashioned the following (merely as a test -- I know that it doesn't 
do anything)...

        extern void LstSetDrawFunction (ListType *,ListDrawDataFuncPtr);

        #define MyList  2007

        void ListDraw (Int16 num, RectangleType *bounds, char **data)
        {/*nothing, here*/}

        DWord PilotMain (Word cmd, char *cmdPBP, Word launchFlags)
        {
                ListType        *list   = 0;
                FormType        *form   = 0;
 
                form = FrmGetActiveForm();
                list = FrmGetObjectPtr (form, MyList);
                LstSetListChoices (list,0,2);
                LstSetDrawFunction (list, (ListDrawDataFuncPtr) ListDraw);
        }

...and I get the following error message:

        Global fixup from 88(1)201540 to unknown 
        code label LstSetDrawFunction_00

What am I doing wrong?

--
Wade Guthrie                         |  
[EMAIL PROTECTED]                    | 
http://members.home.net/guthrie1/    | 
                                     | 
           

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

Reply via email to