Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>menuitemtemplate</b> structure for loadmenuindirect http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MENUITEMTEMPLATE     Structure For LoadMenuIndirect

typedef struct tagMENUITEMTEMPLATE
        {
          BYTE mtOption;
          WORD mtID;
          LPSTR mtString; /* Menu item name */
        }MENUITEMTEMPLATE;


                mtOption
        |---------------------------------------------------|
        | CHECKED      Checkmark                            |
        | END          Last item in popup or static menu    |
        | GRAYED       Inactive and grayed                  |
        | HELP         Right justified, keyboard can select |
        | INACTIVE     Display but not selectable           |
        | MENUBREAK    Item placed in new column            |
        | MENUBREAKBAR New Column Separated by a bar        |
        | POPUP        Display sublist                      |
        +---------------------------------------------------+

Note:           This doesn't seem to be defined in windows.h,
                    LoadMenuIndirect uses LPSTR for the
                    pointer to this! Programmer's reference
                    doesn't show pointer for strings!

See Also: LoadMenuIndirect

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson