www.pudn.com > XPButton_net.zip > ButtonXp.h


#if !defined(AFX_BUTTONXP_H__2553059D_198D_11D7_8869_D4A77DE5B944__INCLUDED_) 
#define AFX_BUTTONXP_H__2553059D_198D_11D7_8869_D4A77DE5B944__INCLUDED_ 
#include "winuser.h" 
#include "tools.h" 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ButtonXp.h : header file 
// 
extern "C" WINUSERAPI BOOL WINAPI TrackMouseEvent(LPTRACKMOUSEEVENT lpEventTrack); 
///////////////////////////////////////////////////////////////////////////// 
// CButtonXp window 
 
class CButtonXp : public CButton 
{ 
// Construction 
public: 
	CButtonXp(); 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CButtonXp) 
	public: 
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct); 
	protected: 
	virtual void PreSubclassWindow(); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CButtonXp(); 
 
	// Generated message map functions 
protected: 
	BOOL MouseOver(); 
	BOOL m_bOver; 
	//{{AFX_MSG(CButtonXp) 
	afx_msg void OnMouseMove(UINT nFlags, CPoint point); 
	afx_msg void OnMouseOut(); 
	//}}AFX_MSG 
 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_BUTTONXP_H__2553059D_198D_11D7_8869_D4A77DE5B944__INCLUDED_)