News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

.RC commands

Started by xandaz, December 14, 2010, 01:10:09 PM

Previous topic - Next topic

dedndave

here's what i found out
MENU is very different from MENUEX
if using MENU, the MENUITEM statement requires only 2 parms - id, state
if using MENUEX, the MENUITEM statement requires an additional parm - id, type, state

taking a glance through resource.h, i found the types MFT_ and states MFS_ are predefined
so, using MENUEX, this works...
           MENUITEM "&Standard", 1032, MFT_RADIOCHECK, MFS_CHECKED

i know, i know
i win a banana

dedndave

correction....

it requires you to use the numeric value "MFS_CHECKED", rather than "CHECKED"

i am going to learn resource and manifest files, if it kills me   :P

this also works
           MENUITEM "&Standard", 1032, , MFS_CHECKED
i guess that is a 0
with MFT_RADIOCHECK, it is a round dot
with no parm, it is a check-mark