#if !defined(AFX_FRHNDDLG_H__536BA601_023E_11D6_8386_942BF065FC6B__INCLUDED_) #define AFX_FRHNDDLG_H__536BA601_023E_11D6_8386_942BF065FC6B__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // FrHndDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CFreeHandDlg dialog class CFreeHandDlg : public CDialog { // Attributes public: int m_nStart; int m_nPoints; RECT m_Rect; CWnd* m_pPaintWnd; HRGN m_hFreeHandRgn; POINT m_RectPoint; POINT m_PrvPoint; POINT m_pPoints[1000]; // Construction public: CFreeHandDlg(CWnd* pParent = NULL); // standard constructor // Destructor public: ~CFreeHandDlg(); // Dialog Data //{{AFX_DATA(CFreeHandDlg) enum { IDD = IDD_FREE_HAND }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CFreeHandDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CFreeHandDlg) virtual BOOL OnInitDialog(); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnMouseMove(UINT nFlags, CPoint point); afx_msg void OnLButtonUp(UINT nFlags, CPoint point); afx_msg void OnPaint(); afx_msg void OnClear(); virtual void OnOK(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_FRHNDDLG_H__536BA601_023E_11D6_8386_942BF065FC6B__INCLUDED_)