www.pudn.com > GandyDraw_MFC.rar > DrawSetDlg.h, change:2006-11-17,size:1191b


#pragma once 
 
 
// CDrawSetDlg 对话框 
 
class CDrawSetDlg : public CDialog 
{ 
	DECLARE_DYNAMIC(CDrawSetDlg) 
 
public: 
	CDrawSetDlg(CWnd* pParent = NULL);   // 标准构造函数 
	virtual ~CDrawSetDlg(); 
 
// 对话框数据 
	enum { IDD = IDD_DRAWSET }; 
 
protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持 
 
	DECLARE_MESSAGE_MAP() 
public: 
	void ShowImg(UINT ID, HBITMAP hBmp); 
public: 
	void FillColor(UINT ID, COLORREF col); 
public: 
	// 笔颜色 
	COLORREF m_PenColor; 
//public: 
//	int m_iPenWidth; 
public: 
	int m_iPenStyle; 
public: 
	int m_iDrawStyle; 
public: 
	COLORREF m_BrushColor; 
public: 
	int m_iHatchStyle; 
public: 
	CBitmap m_Bmp; 
public: 
	CString m_BmpPathName; 
public: 
	afx_msg void OnPaint(); 
public: 
	afx_msg void OnBnClickedPenColor(); 
public: 
	afx_msg void OnBnClickedBrushColor(); 
public: 
	int m_iPenWidth; 
public: 
	afx_msg void OnBnClickedOk(); 
public: 
	virtual BOOL OnInitDialog(); 
public: 
	int m_ComboIndex; 
public: 
	int m_DrawRadio; 
public: 
	BOOL m_bIsFill; 
public: 
	int m_iBrushStyle; 
public: 
	afx_msg void OnCbnSelchangeBrushStrCombo(); 
public: 
	int m_iBruStyle; 
public: 
	int m_iBruHatchStyle; 
};