home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / advanced / fire / firedlg.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  2KB  |  69 lines

  1. // firedlg.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CFireDlg dialog
  15.  
  16. #include "FireWnd.h"
  17.  
  18. class CFireDlg : public CDialog
  19. {
  20. // Construction
  21. public:
  22.     CFireDlg(CWnd* pParent = NULL); // standard constructor
  23.  
  24. // Dialog Data
  25.     //{{AFX_DATA(CFireDlg)
  26.     enum { IDD = IDD_FIRE_DIALOG };
  27.     CSpinButtonCtrl m_SettingCtrl;
  28.     CEdit   m_Setting;
  29.     CButton m_Apply;
  30.     CTreeCtrl   m_Property;
  31.     CSliderCtrl m_Height;
  32.     CTabCtrl    m_Color;
  33.     CProgressCtrl   m_Burn;
  34.     CFireWnd    m_FireWnd;
  35.     int     m_nSetting;
  36.     //}}AFX_DATA
  37.  
  38.     int m_nSettingMin;
  39.     int m_nSettingMax;
  40.  
  41.     // ClassWizard generated virtual function overrides
  42.     //{{AFX_VIRTUAL(CFireDlg)
  43.     protected:
  44.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48. protected:
  49.     HICON m_hIcon;
  50.     UINT m_uTimerID;
  51.  
  52.     // Generated message map functions
  53.     //{{AFX_MSG(CFireDlg)
  54.     virtual BOOL OnInitDialog();
  55.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  56.     afx_msg void OnPaint();
  57.     afx_msg HCURSOR OnQueryDragIcon();
  58.     afx_msg void OnApply();
  59.     afx_msg void OnPropertySelchanged(NMHDR* pNMHDR, LRESULT* pResult);
  60.     afx_msg void OnColorSelchange(NMHDR* pNMHDR, LRESULT* pResult);
  61.     afx_msg void OnDestroy();
  62.     afx_msg void OnTimer(UINT nIDEvent);
  63.     afx_msg void OnSettingChange();
  64.     afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
  65.     afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  66.     //}}AFX_MSG
  67.     DECLARE_MESSAGE_MAP()
  68. };
  69.