WIZARD.H
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:

Windows编程

开发平台:

Visual C++

  1.                             
  2. // menu commands
  3. // Options menu
  4. #define IDM_WIZARD      100
  5. #define IDM_EXIT        101
  6. // Help menu
  7. #define IDM_ABOUT       200
  8. // icons
  9. #define EXE_ICON        300
  10. // ids
  11. #define ID_EDITCHILD 1000
  12. // constants
  13. #define NUM_PAGES 6
  14. #define MAX_BUF 5000
  15. #define MAX_LINE 512
  16. // typedefs
  17. typedef struct tagREVIEWINFO
  18. {
  19.     HINSTANCE hInst;        // current instance
  20. int iWorkHabits;
  21. int iTeamWork;
  22. int iReliability;
  23. int iGoals;
  24. int iAdaptation;
  25. char pszName[MAX_PATH];
  26. char pszTitle[MAX_PATH];
  27. char pszProject[MAX_PATH];
  28. char pszDepartment[MAX_PATH];
  29. } REVIEWINFO;
  30. // Function prototypes
  31. // procs
  32. long APIENTRY MainWndProc(HWND, UINT, UINT, LONG);
  33. BOOL APIENTRY About(HWND, UINT, UINT, LONG);
  34. // Pages for Wizard
  35. BOOL APIENTRY WorkHabits(HWND, UINT, UINT, LONG);
  36. BOOL APIENTRY TeamWork(HWND, UINT, UINT, LONG);
  37. BOOL APIENTRY Reliability(HWND, UINT, UINT, LONG);
  38. BOOL APIENTRY Goals(HWND, UINT, UINT, LONG);
  39. BOOL APIENTRY Adaptation(HWND, UINT, UINT, LONG);
  40. //functions
  41. BOOL InitApplication(HANDLE);
  42. BOOL InitInstance(HANDLE, int);
  43. int CreateWizard(HWND, HINSTANCE);
  44. void FillInPropertyPage( PROPSHEETPAGE* , int, LPSTR, DLGPROC);
  45. void GenerateReview(HWND);