We have created a menu in MFC. In our view-menu we have 3 menu-alternatives. We want to have a checkbox to each alternative.
In Set Item Properties when we created the alternatives we marked CHECKED on our third alternative. We want to be able to change this in runtime. We also want to add a variable to this checkbox.
IDR_MENU1 MENU DISCARDABLE
BEGIN
POPUP "&View"
BEGIN
MENUITEM "&Program",ID_Visa_Program
MENUITEM "&Laddningskurva",ID_Visa_Laddningskurva
MENUITEM "&Antal Celler", ID_Visa_Antalceller, CHECKED
END
END
In Set Item Properties when we created the alternatives we marked CHECKED on our third alternative. We want to be able to change this in runtime. We also want to add a variable to this checkbox.
IDR_MENU1 MENU DISCARDABLE
BEGIN
POPUP "&View"
BEGIN
MENUITEM "&Program",ID_Visa_Program
MENUITEM "&Laddningskurva",ID_Visa_Laddningskurva
MENUITEM "&Antal Celler", ID_Visa_Antalceller, CHECKED
END
END