www.pudn.com > GOS.rar > GStatic.h


// GStatic.h: interface for the GStatic class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_GSTATIC_H__86326BB6_3D64_46AD_80E3_B7870292D670__INCLUDED_) 
#define AFX_GSTATIC_H__86326BB6_3D64_46AD_80E3_B7870292D670__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "GWnd.h" 
 
class GStatic : public GWnd   
{ 
public: 
	void OnCreate(); 
	void OnPaint(); 
	virtual void WndProc(int nMessage, int wParam, int lParam); 
	GStatic(); 
	~GStatic(); 
public: 
	__inline const BITMAP* GetBitmap(){return (BITMAP*)m_nState;} 
	__inline void SetBitmap(const BITMAP* bmp){m_nState=(DWORD)bmp;} 
 
}; 
 
#endif // !defined(AFX_GSTATIC_H__86326BB6_3D64_46AD_80E3_B7870292D670__INCLUDED_)