#define VERINF1                         1
#define IDB_BITMAP1                     100
#define ACC                             110
#define MAINMENU                        600
#define IDM_FILE_NEW                    1002
#define IDM_FILE_OPEN                   1004
#define IDM_FILE_SAVE                   1006
#define IDM_FILE_SAVE_AS                1008
#define IDM_FILE_PRINT                  1010
#define IDM_FILE_PRINT_PREVIEW          1012
#define IDM_FILE_PRINT_SETUP            1014
#define IDM_FILE_RECENT_FILE            1016
#define IDM_FILE_CLOSE                  1017
#define IDM_FILE_APP_EXIT               1018
#define IDM_EDIT_UNDO                   1020
#define IDM_EDIT_CUT                    1022
#define IDM_EDIT_COPY                   1024
#define IDM_EDIT_PASTE                  1026
#define IDM_EDIT_DELETE                 1028
#define IDM_VIEW_TOOLBARS               1030
#define IDM_VIEW_TOOLBARS_STANDARD      1032
#define IDM_VIEW_TOOLBARS_CUSTOMIZE     1034
#define IDM_VIEW_SATATUSBAR             1036
#define IDM_VIEW_STYLE_MENU             1038
#define IDM_VIEW_STYLE_DEFAULT          1040
#define IDM_VIEW_STYLE_OFFICE_2000      1042
#define IDM_VIEW_STYLE_OFFICE_XP        1044
#define IDM_VIEW_STYLE_XNET		1045
#define IDM_WINDOW_CASCADE              1046
#define IDM_WINDOW_TILEHORZ             1048
#define IDM_WINDOW_TILEVERT             1050
#define IDM_WINDOW_ARRANGE              1052
#define IDM_HELP_ABOUT_XX	        1060

#define IDM_NOT_STANDART		1070
#define IDM_NOT_STANDART_CHECK_ITEM     1072
#define IDM_DISABLE_SELECT	        1074

#include "\masm32\include\resource.h"

/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

MAINMENU MENU 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&New\tCtrl+N",                IDM_FILE_NEW
        MENUITEM "&Open...\tCtrl+O",            IDM_FILE_OPEN
        MENUITEM "&Save\tCtrl+S",               IDM_FILE_SAVE
        MENUITEM "Save &As...",                 IDM_FILE_SAVE_AS
        MENUITEM SEPARATOR
        MENUITEM "&Print...\tCtrl+P",           IDM_FILE_PRINT
        MENUITEM "Print Pre&view",              IDM_FILE_PRINT_PREVIEW 
        MENUITEM "P&rint Setup...",             IDM_FILE_PRINT_SETUP
        MENUITEM SEPARATOR
        MENUITEM "Recent File",                 IDM_FILE_RECENT_FILE, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "Close",                       IDM_FILE_CLOSE 
        MENUITEM SEPARATOR
        MENUITEM "E&xit",                       IDM_FILE_APP_EXIT 
    END
    POPUP "&Edit"
    BEGIN
        MENUITEM "&Undo\tCtrl+Z",               IDM_EDIT_UNDO, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "Cu&t\tCtrl+X",                IDM_EDIT_CUT
        MENUITEM "&Copy\tCtrl+C",               IDM_EDIT_COPY
        MENUITEM "&Paste\tCtrl+V",              IDM_EDIT_PASTE
        MENUITEM "De&lete\tDel",                IDM_EDIT_DELETE
    END
    POPUP "&View"
    BEGIN
        POPUP "Toolbars"
        BEGIN
            MENUITEM "&Standard",                   IDM_VIEW_TOOLBARS_STANDARD, CHECKED
            MENUITEM "&Customize...",               IDM_VIEW_TOOLBARS_CUSTOMIZE
        END
        MENUITEM "&Status Bar",                 IDM_VIEW_SATATUSBAR , CHECKED, GRAYED
    END
    POPUP "&Window"
    BEGIN
        MENUITEM "&Cascade",                    IDM_WINDOW_CASCADE
        MENUITEM "Tile &Horizontally",          IDM_WINDOW_TILEHORZ
        MENUITEM "&Tile Vertically",            IDM_WINDOW_TILEVERT
        MENUITEM "&Arrange",                    IDM_WINDOW_ARRANGE
    END
    POPUP "&Not standard item"
    BEGIN
	MENUITEM "Check Item with icon",            IDM_NOT_STANDART_CHECK_ITEM	
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&About Menu_XX...",           IDM_HELP_ABOUT_XX
    END
    POPUP "&Options"
    BEGIN
    	POPUP "&Theme Menu"
    	BEGIN
             MENUITEM "&Default",                    IDM_VIEW_STYLE_DEFAULT
             MENUITEM "&Office 2000",                IDM_VIEW_STYLE_OFFICE_2000
             MENUITEM "Office &XP",                  IDM_VIEW_STYLE_OFFICE_XP
	     MENUITEM "XNET",                        IDM_VIEW_STYLE_XNET
         END
    MENUITEM "Show disabled selection",      IDM_DISABLE_SELECT, CHECKED     
    END    
END

/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//

IDB_BITMAP1             BITMAP                  "ToolBar.bmp"

/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//

ACC ACCELERATORS 
BEGIN
    "N",            IDM_FILE_NEW,           VIRTKEY, CONTROL, NOINVERT
    "O",            IDM_FILE_OPEN,          VIRTKEY, CONTROL, NOINVERT
    "S",            IDM_FILE_SAVE,          VIRTKEY, CONTROL, NOINVERT
    "P",            IDM_FILE_PRINT,         VIRTKEY, CONTROL, NOINVERT
    "Z",            IDM_EDIT_UNDO,          VIRTKEY, CONTROL, NOINVERT
    "X",            IDM_EDIT_CUT,           VIRTKEY, CONTROL, NOINVERT
    "C",            IDM_EDIT_COPY,          VIRTKEY, CONTROL, NOINVERT
    "V",            IDM_EDIT_PASTE,         VIRTKEY, CONTROL, NOINVERT
    VK_DELETE,      IDM_EDIT_DELETE,        VIRTKEY, NOINVERT
END