Order of the Butterfly
Posts: 171 from 2006/10/6
From: Spain
Hi.
I'm making a MUI gui for UAE4all, i never used MUI before, and i have a problem to get a checkmark object working as i expect. I try to open a MUI window that have some checkmarks selected as default, but i don't receive the first event when i try to press it to unselect it, after this first action i receive the events properly. If this checkmark isn't selected as default, then all events are received without problems. I'm making something wrong probably but i can't find the reason.
This is the code i have used, i have defined a notify to the app and i didn't recceive the first event.
Code:
Child, autofskip = MUI_MakeObject(MUIO_Checkmark, NULL),
..........
DoMethod((Object*)autofskip,MUIM_Set,MUIA_Selected,TRUE,(Object*)app,0); DoMethod((Object*)autofskip,MUIM_Notify,MUIA_Pressed,MUIV_EveryTime,(Object*)app,2,MUIM_Application_ReturnID,ID_AUTO_FRAMESKIP);
With this code i have the same problem.
Code:
Child, autofskip = CheckMark(TRUE),
.........
DoMethod((Object*)autofskip,MUIM_Notify,MUIA_Pressed,MUIV_EveryTime,(Object*)app,2,MUIM_Application_ReturnID,ID_AUTO_FRAMESKIP);
Any help?
Balrog Software -
AmigaSkool.netMac Mini - MorphOS 3.8 - G4 1.5Ghz - Ati 9200 64 Mb
Efika - MorphOS 3.6 - Ati 9200 64Mb - 80 Gb HD
Amiga 1200D - OS 3.9 - Blizzard 603e/240mh