www.pudn.com > my2cadtest07261930.rar > StatusBar.h, change:2006-07-26,size:588b


 
#ifndef _statusbar_ 
#define _statusbar_ 
 
#include <windows.h> 
#include "resource.h" 
 
 
class CStatusBar   
{ 
public: 
	HWND GetHWnd(); 
	 
	void CreateSB(HWND hWnd); 
	void ShowMessage(POINT& pt, int nIndexPos);//show Pt info in statusbar part 
	void ShowMessage(char* cStatusTxt, int nIndexPos);//show txt msg in statusbar part 
	void SetVisible(HWND hWnd ); 
	HWND SetHWndNull(); 
	void CStatusBar::ReSize(HWND hWnd); 
	void OnMouseMove( LPARAM lParam);//响应鼠标移动事件 
public: 
	CStatusBar(); 
	virtual ~CStatusBar(); 
 
private: 
HWND m_hWndStatusBar; 
 
}; 
 
 
 
#endif