mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.9 KiB
59 lines
1.9 KiB
#include "windows.h"
|
|
#include "generic.h"
|
|
|
|
Generic ICON Generic.ICO
|
|
1 ICON test.ico
|
|
2 BITMAP x.bmp
|
|
|
|
Generic MENU
|
|
BEGIN
|
|
POPUP "&File"
|
|
{
|
|
MENUITEM "&New", IDM_NEW, GRAYED
|
|
MENUITEM "&Open", IDM_OPEN, GRAYED
|
|
MENUITEM "&Save", IDM_SAVE, GRAYED
|
|
MENUITEM "Save &As...", IDM_SAVEAS, GRAYED
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Print...", IDM_PRINT, GRAYED
|
|
MENUITEM "P&rint Setup...", IDM_PRINTSETUP, GRAYED
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "E&xit", IDM_EXIT
|
|
}
|
|
POPUP "&Edit"
|
|
{
|
|
MENUITEM "&Undo\tCtrl+Z", IDM_UNDO, GRAYED
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Cu&t\tCtrl+X", IDM_CUT, GRAYED
|
|
MENUITEM "&Copy\tCtrl+C", IDM_COPY, GRAYED
|
|
MENUITEM "&Paste\tCtrl+V", IDM_PASTE, GRAYED
|
|
MENUITEM "Paste &Link" IDM_LINK, GRAYED
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Lin&ks..." IDM_LINKS, GRAYED
|
|
}
|
|
|
|
POPUP "&Help"
|
|
{
|
|
MENUITEM "&Contents", IDM_HELPCONTENTS, GRAYED
|
|
MENUITEM "&Search for Help On...", IDM_HELPSEARCH, GRAYED
|
|
MENUITEM "&How to Use Help", IDM_HELPHELP, GRAYED
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&About Generic...", IDM_ABOUT
|
|
}
|
|
END
|
|
|
|
GENERIC ACCELERATORS
|
|
BEGIN
|
|
VK_F1, IDM_HELPCONTENTS, VIRTKEY
|
|
"?", IDM_ABOUT, ALT
|
|
"/", IDM_ABOUT, ALT
|
|
END
|
|
|
|
|
|
ABOUTBOX DIALOG 22, 17, 167, 64
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "About Generic"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK", IDOK, 70, 40, 32, 14, WS_GROUP
|
|
ICON "Generic", -1, 5, 15, 16, 16
|
|
CTEXT "Generic About Box", -1, 38, 15, 100, 8
|
|
END
|