/* 

    basic resource script file
    comments are either in C or C++ notation

 */

#define MANIFEST 24

// include the MASM32 resource definition file
    #include "\masm32\include\resource.h"

// example MANIFEST file
    1 MANIFEST "manifest.xml"   // resource must exist to build resource file

// example ICON
    10 ICON "myicon.ico"        // resource must exist to build resource file

// example bitmap
    20 BITMAP "yourbmp.bmp"     // resource must exist to build resource file

// example cursor
    30 CURSOR "magnify.cur"     // resource must exist to build resource file

// 

// sample menu

    100 MENUEX MOVEABLE IMPURE LOADONCALL DISCARDABLE
    BEGIN
        POPUP "&File", , , 0
        BEGIN
            MENUITEM "&Open", 1001
            MENUITEM "", , 0x0800 /*MFT_SEPARATOR*/
            MENUITEM "&Save", 1002
            MENUITEM "", , 0x0800 /*MFT_SEPARATOR*/
            MENUITEM "&Exit", 1010
        END
        POPUP "&Help", , , 0
        BEGIN
            MENUITEM "&About", 1100
        END
    END

// 

// sample dialog

    150 DIALOGEX MOVEABLE IMPURE LOADONCALL DISCARDABLE 10, 10, 249, 145, 0
    STYLE DS_MODALFRAME | 0x0004 | DS_CENTER | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | WS_POPUP
    CAPTION "Example Dialog"
    FONT 8, "MS Sans Serif", 700, 0 /*FALSE*/
    BEGIN
        PUSHBUTTON      "&OK", IDOK,            184,15,50,15, 0, , 0
        PUSHBUTTON      "&Cancel", IDCANCEL,    184,34,50,15, 0, , 0
        GROUPBOX        " Group box ", 151,      9,6,158,130, 0, , 0
    END

