home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / propsheet / comctl / wizard / wizard.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-03  |  1.2 KB  |  57 lines

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