I'm trying to detect wether any of my string gadgets (using Betterstring.mcc) 
are currently selected or not..

LONG string1, string2, string3;

get((Object*)STR_topic,MUIA_Selected,&string1);
get((Object*)STR_keyword,MUIA_Selected,&string2);
get((Object*)STR_limit,MUIA_Selected,&string3);

printf("pos1:%i pos2:%i pos3:%i\n",string1,string2,string3);

they all say "0" in shell.. I'm probably doing this the wrong way. Can anyone 
help?






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/16uqlB/TM
--------------------------------------------------------------------~-> 

Visit http://www.amiga.dk/tumult for MUI-related
information, especially about MUI custom classes. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MUI/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to