www.pudn.com > message2.rar > message2Dlg.h


// message2Dlg.h : header file 
// 
 
#if !defined(AFX_MESSAGE2DLG_H__660A6307_E128_4E27_B28F_E6AC61EB15DB__INCLUDED_) 
#define AFX_MESSAGE2DLG_H__660A6307_E128_4E27_B28F_E6AC61EB15DB__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CMessage2Dlg dialog 
 
class CMessage2Dlg : public CDialog 
{ 
// Construction 
public: 
	CMessage2Dlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CMessage2Dlg) 
	enum { IDD = IDD_MESSAGE2_DIALOG }; 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMessage2Dlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CMessage2Dlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); 
	afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags); 
	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 
	DECLARE_MESSAGE_MAP() 
private: 
	RECT Rfromp(CPoint point); 
	int m_nx; 
	int m_ny; 
	int nflag; 
	bool Pinside(CPoint point); 
	CRect shape; 
	char m_chshape; 
	CBrush brushape; 
	bool m_bstain; 
	bool m_bmove; 
	CPoint oldpoint; 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MESSAGE2DLG_H__660A6307_E128_4E27_B28F_E6AC61EB15DB__INCLUDED_)