37 lines
888 B
C
37 lines
888 B
C
/* file menu items */
|
|
|
|
#define IDM_NEW 100
|
|
#define IDM_OPEN 101
|
|
#define IDM_SAVE 102
|
|
#define IDM_SAVEAS 103
|
|
#define IDM_PRINT 104
|
|
#define IDM_EXIT 105
|
|
|
|
/* edit menu items */
|
|
|
|
#define IDM_UNDO 200
|
|
#define IDM_CUT 201
|
|
#define IDM_COPY 202
|
|
#define IDM_PASTE 203
|
|
#define IDM_CLEAR 204
|
|
|
|
/* define help items */
|
|
|
|
#define IDM_ABOUT 300
|
|
#define IDM_HELP_INDEX 301
|
|
#define IDM_HELP_KEYBOARD 302
|
|
#define IDM_HELP_HELP 303
|
|
|
|
#define EXE_NAME_MAX_SIZE 128
|
|
|
|
int PASCAL WinMain(HINSTANCE, HINSTANCE, LPSTR, int);
|
|
BOOL InitApplication(HINSTANCE);
|
|
BOOL InitInstance(HINSTANCE, int);
|
|
#ifdef __WINDOWS_386__
|
|
#define _EXPORT
|
|
#else
|
|
#define _EXPORT __export
|
|
#endif
|
|
long _EXPORT FAR PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM);
|
|
BOOL _EXPORT FAR PASCAL About(HWND, UINT, WPARAM, LPARAM);
|