hello

i'm a newbie in programming palms.. so i looked through some code and i 
found this function. but it doesnt seem to be in the html documentation 
i downloaded from palm.com; also, when i tried to use it, gcc complains:
 test.c:35: warning: implicit declaration of function `GetObjectFromActiveForm'
 test.c:35: warning: assignment makes pointer from integer without a cast
these are lines 34 and 35 in my test.c:
    ControlPtr myQ;
    myQ = GetObjectFromActiveForm(CheckQuit);
i made a search in the header files, i thought i should #include smth, so
gcc would know the function returns a ControlPtr, but i found nothing.
can anyone tell me what's the story with this function?
i need this function to test if my checkbox (CheckQuit) is on/off, which 
i think is done by calling CtlGetValue(myQ)

im using RH 6.0, prc-tools-0.5.0, gcc-2.7.2.2


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to