home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / appwiz / customwz / seqdlg.h < prev    next >
C/C++ Source or Header  |  1998-03-05  |  1KB  |  57 lines

  1. // seqdlg.h : header file.  This dialog contains options for basing a
  2. //             custom AppWizard off of a standard AppWizard sequence
  3. //
  4. // Copyright (c) 1985-1998, Microsoft Corporation. All rights reserved.
  5. //
  6.  
  7. // These must match the order of the corresponding radio buttons
  8. enum
  9. {
  10.     APWZSEQ_EXE,
  11.     APWZSEQ_DLL,
  12.     APWZSEQ_MAX,
  13. };
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CSequenceDlg dialog
  17.  
  18. class CSequenceDlg : public CAppWizStepDlg
  19. {
  20. // Construction
  21. public:
  22.     CSequenceDlg();   // standard constructor
  23.     virtual BOOL OnDismiss();
  24.  
  25. // Dialog Data
  26.     //{{AFX_DATA(CSequenceDlg)
  27.     enum { IDD = IDD_APWZ_SEQUENCE };
  28.     int     m_nApwzSeq;
  29.     //}}AFX_DATA
  30.  
  31.  
  32. // Overrides
  33.     // ClassWizard generated virtual function overrides
  34.     //{{AFX_VIRTUAL(CSequenceDlg)
  35.     protected:
  36.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  37.     //}}AFX_VIRTUAL
  38.  
  39. // Implementation
  40. protected:
  41.     void SetSeqBitmap();    // Sets m_nSeqBitmap according to options
  42.     UINT m_nSeqBitmap;      // IDB_ of bitmap to show
  43.     void DefineDefaultLangMacros();
  44.     BOOL DefineLangMacros();
  45.     void InitLangList();
  46.     void EnableLangListbox(BOOL bEnable);
  47.     CStringList m_strlLanguages;
  48.  
  49.     // Generated message map functions
  50.     //{{AFX_MSG(CSequenceDlg)
  51.     afx_msg BOOL OnClickedRadio(UINT nID);
  52.     afx_msg void OnPaint();
  53.     virtual BOOL OnInitDialog();
  54.     //}}AFX_MSG
  55.     DECLARE_MESSAGE_MAP()
  56. };
  57.