home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
ibm1
/
v11n10.arj
/
DLGDEMO.H
< prev
next >
Wrap
Text File
|
1992-03-08
|
1KB
|
51 lines
//
// DLGDEMO.H -- Header File for Common Dialog Demo Program DLGDEMO
//
// File menu items
#define IDM_NEW 100
#define IDM_OPEN 101
#define IDM_SAVE 102
#define IDM_SAVEAS 103
#define IDM_EXIT 104
// Edit menu items
#define IDM_UNDO 200
#define IDM_CUT 201
#define IDM_COPY 202
#define IDM_PASTE 203
#define IDM_DELETE 204
// Edit control IDs
#define IDE_MLE 1
// Function prototypes
int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
BOOL InitApplication(HANDLE);
BOOL InitInstance(HANDLE, WORD);
BOOL TermInstance(HANDLE);
LONG FAR PASCAL FrameWndProc(HWND, WORD, WORD, LONG);
LONG DoCreate(HWND, WORD, WORD, LONG);
LONG DoInitMenu(HWND, WORD, WORD, LONG);
LONG DoSize(HWND, WORD, WORD, LONG);
LONG DoSetFocus(HWND, WORD, WORD, LONG);
LONG DoCommand(HWND, WORD, WORD, LONG);
LONG DoDestroy(HWND, WORD, WORD, LONG);
LONG DoMenuNew(HWND, WORD, WORD, LONG);
LONG DoMenuOpen(HWND, WORD, WORD, LONG);
LONG DoMenuSave(HWND, WORD, WORD, LONG);
LONG DoMenuSaveAs(HWND, WORD, WORD, LONG);
LONG DoMenuExit(HWND, WORD, WORD, LONG);
LONG DoMenuUndo(HWND, WORD, WORD, LONG);
LONG DoMenuCut(HWND, WORD, WORD, LONG);
LONG DoMenuCopy(HWND, WORD, WORD, LONG);
LONG DoMenuPaste(HWND, WORD, WORD, LONG);
LONG DoMenuDelete(HWND, WORD, WORD, LONG);
VOID NewFile(HANDLE);
VOID ReadFile(HANDLE);
VOID WriteFile(HANDLE);
VOID QueryWriteFile(HANDLE);
VOID SetWindowCaption(char *);