#if !defined(AFX_BMPSTATIC_H__DC6074A8_0B1B_471F_925C_DADDE3BD4071__INCLUDED_) #define AFX_BMPSTATIC_H__DC6074A8_0B1B_471F_925C_DADDE3BD4071__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // BmpStatic.h : header file // ///////////////////////////////////////////////////////////////////////////// // CBmpStatic window class CBmpStatic : public CStatic { private: CDC m_BackgroundDC; CFont m_txtFont; int m_ImageID; bool m_InitDC; UINT m_TxtFormat; // Construction public: CBmpStatic(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CBmpStatic) //}}AFX_VIRTUAL // Implementation public: void SetTxtFont(int nFont); void LoadBgBmp(int nBmpID); virtual ~CBmpStatic(); // Generated message map functions protected: //{{AFX_MSG(CBmpStatic) afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg void OnPaint(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_BMPSTATIC_H__DC6074A8_0B1B_471F_925C_DADDE3BD4071__INCLUDED_)