On Wed, 26 Dec 2007, Steffen wrote: > I am wondering if event handlers should be added in MUIM_Show rather > than MUIM_Setup? Most examples I found do it in MUIM_Setup but > MUIM_Show would make more sense for most events since the object only > receives e.g. mouse clicks when it is on screen (an object hidden in a > tab page does not need to know about mouse clicks for example).
What about timing events? Are there problems with Workbench icons dropped on the iconified application? I think it is also a question of how often event handlers are added and removed. Show/Hide takes place on every window re-sizing, Setup/Cleanup only on window opening and closing. Since input events are bound to Intuition windows the event handler installation is appropriate in the Setup method. 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/
