FadeInCtrl.h
上传用户:sycq158
上传日期:2008-10-22
资源大小:15361k
文件大小:1k
- #if !defined(AFX_ALPHACTRL_H__FB39898D_676D_4BD2_B576_542ABCA68021__INCLUDED_)
- #define AFX_ALPHACTRL_H__FB39898D_676D_4BD2_B576_542ABCA68021__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // AlphaCtrl.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CFadeInCtrl window
- class CFadeInCtrl : public CStatic
- {
- // Construction
- public:
- CFadeInCtrl();
- // Attributes
- public:
- // Operations
- public:
- BOOL bCanPaint;
- UINT nBmpID;
- int nTimer;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFadeInCtrl)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- BOOL Load(UINT uID, int iTimer);
- CBitmap m_bitmap;
- void Display(CDC& pDC, CClientDC& dc, BLENDFUNCTION& rBlendProps, int width, int heigh, byte nLevel);
- virtual ~CFadeInCtrl();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CFadeInCtrl)
- afx_msg void OnPaint();
- //}}AFX_MSG
-
- DECLARE_MESSAGE_MAP()
- protected:
-
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ALPHACTRL_H__FB39898D_676D_4BD2_B576_542ABCA68021__INCLUDED_)