(False Alert) SetMenuItemState Working and Not working
Posted: Thu Mar 01, 2012 8:56 pm
Hello everyone,
Something I don't understand, the following code is taken from the help file :
Believe it or not, on my notebook Acer Aspire 5534 running under LinuxMint 12 x64 + Gnome-Shell this example work fine, I see the check in the menu just in front of the text. But on my PC also running under LinuxMint 12 x64 + Gnome-Shell, it not work at all, not check in front of the text.
Beside the graphic driver problems, any more ideas to help figuring out what is going on ?
Thanks beforehand and best regards.
Guimauve
Something I don't understand, the following code is taken from the help file :
Code: Select all
If OpenWindow(0, 200, 200, 200, 100, "Exemple SetMenuItemState")
If CreateMenu(0, WindowID(0))
MenuTitle("Project")
MenuItem(1, "Changed")
SetMenuItemState(0,1,1) ; Coche l'élément 1 du menu.
EndIf
Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow
EndIfBeside the graphic driver problems, any more ideas to help figuring out what is going on ?
Thanks beforehand and best regards.
Guimauve


