www.pudn.com > kugong.rar > MyWnd.h


// MyWnd.h: interface for the CMyWnd class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MYWND_H__9C4F7859_0D5B_4801_9FE3_401BBC31591C__INCLUDED_) 
#define AFX_MYWND_H__9C4F7859_0D5B_4801_9FE3_401BBC31591C__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "BCMenu.h"	 
#include "LjxDlg.h" 
 
class CMyWnd : public CWnd   
{ 
public: 
	void CreateMyWnd(LPCTSTR pTitle,RECT &rect); 
	CMyWnd(); 
	BCMenu m_popmenu; 
public: 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CTransparentWnd) 
	public: 
	 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	int yy1; 
	int xx1; 
	int ADxy; 
	int ColorZ; 
	int ColorY; 
	int ColorX; 
    BOOL MouseFlag; 
	int yy; 
	int xx; 
		virtual ~CMyWnd(); 
protected: 
	// Generated message map functions 
protected: 
	void OnLine2(); 
	void OnLine1(); 
	//{{AFX_MSG(CTransparentWnd) 
    afx_msg void OnRButtonDown(UINT nFlags, CPoint point); 
	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 OnExit(); 
	afx_msg void OnGreen(); 
	afx_msg void OnRed(); 
	afx_msg void OnYellow(); 
	afx_msg void OnBlue(); 
	afx_msg void OnAdd(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
 
}; 
 
#endif // !defined(AFX_MYWND_H__9C4F7859_0D5B_4801_9FE3_401BBC31591C__INCLUDED_)