03-23-2012 05:20 AM
Bonjour ,
j'utilise la fonction SetCtrlMenuAttribute pour mettre un item de mon menubar checked
ça m'affiche un message d'erreur: je comprends pas le source ou comment le résoudre
NON-FATAL RUN-TIME ERROR: "SFT015AET.c", line 546, col 1, thread id 0x00001064: Library function error (return value == -139 [0xffffff75]). Controls of the type passed do not have a menu
Solved! Go to Solution.
03-23-2012 05:33 AM
Hello, I'll answer in English...
SetCtrlMenuAttribute is destined to manipulate menus owned by particular controls like tables or others. To manipulate menu bars you must use SetMenuBarAttribute instead.
03-23-2012 05:35 AM
Hi,
SetCtrlMenuAttribute is for control menus - not for menu bars... here you should use SetMenuBarAttribute
03-23-2012 05:58 AM
hi,
sorry for talking in frensh.
Thank you, that's what i ware searching for.