home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1992
/
11
/
dlgdemo2
/
dlgdemo2.h
< prev
next >
Wrap
Text File
|
1992-03-22
|
2KB
|
58 lines
//
// DLGDEMO2.H -- Header File for Common Dialog Demo Program DLGDEMO2.C
//
// 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
// Other menu items
#define IDM_FONT 300
#define IDM_COLOR 400
// 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 DoSetColor(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);
LONG DoMenuFont(HWND, WORD, WORD, LONG);
LONG DoMenuColor(HWND, WORD, WORD, LONG);
VOID NewFile(HANDLE);
VOID ReadFile(HANDLE);
VOID WriteFile(HANDLE);
VOID QueryWriteFile(HANDLE);
VOID SetWindowCaption(char *);