home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / general / saver / saverdlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.3 KB  |  52 lines

  1. // Saverdlg.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CSaverDlg dialog
  6.  
  7. class CSaverDlg : public CDialog
  8. {
  9. // Construction
  10. public:
  11.     CSaverDlg(CWnd* pParent = NULL);    // standard constructor
  12.  
  13. // Dialog Data
  14.     //{{AFX_DATA(CSaverDlg)
  15.     enum { IDD = IDD_SAVER_DIALOG };
  16.     CComboBox   m_comboJoin;
  17.     CComboBox   m_comboStyle;
  18.     CScrollBar  m_scrollSpeed;
  19.     CScrollBar  m_scrollRes;
  20.     int     m_nWidth;
  21.     int     m_nCapStyle;
  22.     int     m_nResolution;
  23.     int     m_nSpeed;
  24.     int     m_nJoinStyle;
  25.     //}}AFX_DATA
  26.     COLORREF m_color;
  27.  
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CSaverDlg)
  30.     protected:
  31.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  32.     //}}AFX_VIRTUAL
  33.  
  34. // Implementation
  35. protected:
  36.     HICON m_hIcon;
  37.     CDrawWnd m_wndPreview; // don't autodelete
  38.  
  39.     // Generated message map functions
  40.     //{{AFX_MSG(CSaverDlg)
  41.     virtual BOOL OnInitDialog();
  42.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  43.     afx_msg void OnPaint();
  44.     afx_msg HCURSOR OnQueryDragIcon();
  45.     afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  46.     afx_msg void OnButtonColor();
  47.     afx_msg void OnKillfocusEditWidth();
  48.     afx_msg void OnSelendokStyle();
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.