home *** CD-ROM | disk | FTP | other *** search
- // LineDlg.h : header file
- //
-
- /////////////////////////////////////////////////////////////////////////////
- // CLineDemoDlg dialog
-
- class CLineDemoDlg : public CDialog
- {
- // Construction
- public:
- CLineDemoDlg(CWnd* pParent = NULL); // standard constructor
-
- // Dialog Data
- //{{AFX_DATA(CLineDemoDlg)
- enum { IDD = IDD_LINEDEMO_DIALOG };
- int m_solid;
- //}}AFX_DATA
-
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CLineDemoDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
- HICON m_hIcon;
-
- // Generated message map functions
- //{{AFX_MSG(CLineDemoDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnDash();
- afx_msg void OnDashdot();
- afx_msg void OnDashdotdot();
- afx_msg void OnDot();
- afx_msg void OnSolid();
- afx_msg void OnDestroy();
- afx_msg void OnTimer(UINT nIDEvent);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- void SetLineStyle();
- UINT m_uTimer;
- int m_iTime, m_iDirection, m_iLimit;
- };
-