mirror of https://github.com/tongzx/nt5src
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.
41 lines
896 B
41 lines
896 B
|
|
// menu commands
|
|
|
|
// Options menu
|
|
#define IDM_WIZARD 100
|
|
#define IDM_EXIT 101
|
|
|
|
// Help menu
|
|
#define IDM_ABOUT 200
|
|
|
|
// icons
|
|
#define EXE_ICON 300
|
|
|
|
// ids
|
|
#define ID_EDITCHILD 1000
|
|
|
|
// constants
|
|
#define NUM_PAGES 3
|
|
#define MAX_BUF 5000
|
|
#define MAX_LINE 512
|
|
|
|
// Function prototypes
|
|
|
|
// procs
|
|
long APIENTRY MainWndProc(HWND, UINT, UINT, LONG);
|
|
BOOL APIENTRY About(HWND, UINT, UINT, LONG);
|
|
|
|
// Pages for Wizard
|
|
BOOL APIENTRY PageProc0(HWND, UINT, UINT, LONG);
|
|
BOOL APIENTRY PageProc1(HWND, UINT, UINT, LONG);
|
|
BOOL APIENTRY PageProc2(HWND, UINT, UINT, LONG);
|
|
|
|
//functions
|
|
BOOL InitApplication(HANDLE);
|
|
BOOL InitInstance(HANDLE, int);
|
|
int CreateWizard(HWND, HINSTANCE);
|
|
void InitPropertyPage( PROPSHEETPAGE*,INT,DLGPROC,DWORD,LPARAM);
|
|
void SetPageText(PROPSHEETPAGE *,INT,INT);
|
|
void SetPageCaption(PROPSHEETPAGE *,INT);
|
|
void GenerateResult(HWND);
|
|
|