www.pudn.com > GameEngine_src.rar > CMenu.h


#ifndef CMenu_h 
#define CMenu_h 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include  
 
/////////////////////////////////////////////////////////// 
//²Ëµ¥Àà 
/////////////////////////////////////////////////////////// 
class CMenu   
{ 
public: 
	CMenu(); 
	~CMenu(); 
 
	bool Init( HWND hwnd, HINSTANCE hInstance ); 
	bool HandleMsg( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam ); 
	void Free(); 
 
	HMENU GetHMenu() { return m_hmenu; } 
 
private: 
	HMENU m_hmenu; 
	int  m_iTemplate; 
}; 
 
#endif