Hi, I think I just found another context menu bug in MUI 3.9. Actually, the problem arises within a context menu of the NList class, but it is working under 68k MUI 3.8 so I guess the bug is in MUI and not in NList.
So here is what happens: I have a subclassed NList gadget in my GUI with several columns. Each column displays a different context menu on RMB. The decision which context menu shall be displayed is made in MUIM_NList_ContextMenuBuild. In the third column the context menu consists of three items which are mutually exclusive and one is always selected using a check mark. The items are all of type CHECKIT (see intuition/intuition.h). Now when the user opens this context menu using RMB and changes the active item, the user's selection is passed to my class via the MUIM_ContextMenuChoice method so I can take the appropriate action. What, however, is not done by MUI 3.9 is to actually checkmark the item the user has just selected. Thus, when he opens the context menu of the third column again, the old item is still checkmarked although he has just changed this selection. This behaviour happens under the MUI 3.9 of MorphOS 1.4.5 & OS4 update #4 with the latest NList class package 0.98. Under MUI 3.8 on 68k, it works like it should, i.e. the check mark is changed correctly. I have not tried it with MUI4 or the final OS4 update yet but will do so soon. A solution for this issue is to manually set the checkmark using MUIM_SetUData on the context menu after the user's selection but normally this should have already been done by MUI. Comments welcome. Especially whether or not this issue is already known. Greets, Andreas -- "Remember: It's nice to be important but it's more important to be nice!" 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/
