home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / protview / demowinx / data.2 / line / samples / MFC / LINEDEMO / LINEDLG.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-20  |  1.1 KB  |  48 lines

  1. // LineDlg.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CLineDemoDlg dialog
  6.  
  7. class CLineDemoDlg : public CDialog
  8. {
  9. // Construction
  10. public:
  11.     CLineDemoDlg(CWnd* pParent = NULL);    // standard constructor
  12.  
  13. // Dialog Data
  14.     //{{AFX_DATA(CLineDemoDlg)
  15.     enum { IDD = IDD_LINEDEMO_DIALOG };
  16.     int        m_solid;
  17.     //}}AFX_DATA
  18.  
  19.     // ClassWizard generated virtual function overrides
  20.     //{{AFX_VIRTUAL(CLineDemoDlg)
  21.     protected:
  22.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  23.     //}}AFX_VIRTUAL
  24.  
  25. // Implementation
  26. protected:
  27.     HICON m_hIcon;
  28.  
  29.     // Generated message map functions
  30.     //{{AFX_MSG(CLineDemoDlg)
  31.     virtual BOOL OnInitDialog();
  32.     afx_msg void OnPaint();
  33.     afx_msg HCURSOR OnQueryDragIcon();
  34.     afx_msg void OnDash();
  35.     afx_msg void OnDashdot();
  36.     afx_msg void OnDashdotdot();
  37.     afx_msg void OnDot();
  38.     afx_msg void OnSolid();
  39.     afx_msg void OnDestroy();
  40.     afx_msg void OnTimer(UINT nIDEvent);
  41.     //}}AFX_MSG
  42.     DECLARE_MESSAGE_MAP()
  43. private:
  44.     void SetLineStyle();
  45.     UINT m_uTimer;
  46.     int  m_iTime, m_iDirection, m_iLimit;
  47. };
  48.