FillSetDlg.h
资源名称:44757463.rar [点击查看]
上传用户:lj3531212
上传日期:2007-06-18
资源大小:346k
文件大小:2k
源码类别:
绘图程序
开发平台:
Visual C++
- #if !defined(AFX_FILLSETDLG_H__A53DB361_0C54_4FCE_BF2B_1E6BEBE98EA0__INCLUDED_)
- #define AFX_FILLSETDLG_H__A53DB361_0C54_4FCE_BF2B_1E6BEBE98EA0__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // FillSetDlg.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CFillSetDlg dialog
- class CFillSetDlg : public CDialog
- {
- // Construction
- public:
- CFillSetDlg(CWnd* pParent = NULL); // standard constructor
- public:
- //Attributes
- CRect m_NoFillRect;//0
- CRect m_SolidRect;//1
- int m_nOld;
- int m_nCurrent ;
- int m_nSelect ;
- int m_nMargin;
- CWnd* m_pWndParent;
- public:
- //operations
- BOOL GetCellRect(int i,CRect* pRect);
- void draw_cell(CDC* pDC,int i);
- void Init();
- void SetStyle(int nStyle);
- // Dialog Data
- //{{AFX_DATA(CFillSetDlg)
- enum { IDD = IDD_FILL_SET };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFillSetDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CFillSetDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnKillFocus(CWnd* pNewWnd);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnPaint();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FILLSETDLG_H__A53DB361_0C54_4FCE_BF2B_1E6BEBE98EA0__INCLUDED_)