On Thu, 27 Dec 2007, Steffen wrote: > Hi Illka! > > > I usually add and remove event handlers in MUIM_Show/Hide. > > > > For event handlers you probably wish to use this flag: > > > > #define MUI_EHF_GUIMODE (1<<1) /* set this if you dont want > your handler to be called */ > > /* when your object is disabled or invisible */ > > Thanks for the hint with this new flag. I will set it then but also > don't rely on it. > > One more question about MUIM_Show. Does this method have a return > value like MUI_Setup has? What happens if me or my superclass returns > 0? The developer docs don't say anything about this.
Then MUIM_Show failed somehow and you should also return 0. MUIM_Show works like MUIM_Setup in this regard. Ilkka 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/MUI/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/
