📄 gwexttranssplashwnd.h
字号:
// GWExtTransSplashWnd.h: interface for the GWExtTransSplashWnd class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_GWEXTTRANSSPLASHWND_H__8AD9D764_7EBD_11DA_B5EA_525400EA266C__INCLUDED_)
#define AFX_GWEXTTRANSSPLASHWND_H__8AD9D764_7EBD_11DA_B5EA_525400EA266C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//*******************************************************************************
// 版权声明
// ------------------------------------------------------------------------------
// 此段代码是AppBuilder扩展类库GWC的一部分.
// 你可以使用、重新编译、或者编译成你的发行软件的一部分。
// 但是在没有经过我们书面同意的情况下,你不能直接发行此代码文件.
//-------------------------------------------------------------------------------
// 版权所有.
// 作者:张修勇
// 拷贝日期:2000年10月05日
//-------------------------------------------------------------------------------
// 主页: http://www.ucancode.com
// 技术支持E-Mail: AppBuilder@hotmail.com
//*******************************************************************************
class GWExtTransSplashWnd : public CWnd
{
// Construction
public:
GWExtTransSplashWnd(UINT nBitmapID, BOOL bUseColor = FALSE,COLORREF cr = RGB(255,255,255),UINT nDuration = 2500);
// Attributes
public:
BOOL Create();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(GWExtTransSplashWnd)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
// Implementation
public:
BOOL m_be;
CString m_sdl;
BOOL m_bWin2k;
// Generated message map functions
protected:
//{{AFX_MSG(GWExtTransSplashWnd)
afx_msg void OnPaint();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
BOOL GetBitmapAndPalette(UINT nIDResource, CBitmap &bitmap, CPalette &pal);
HRGN CreateRegion(HBITMAP hBmp, LPPOINT pPoint);
HRGN CreateRegionByColor(HBITMAP hBmp, COLORREF color);
CString m_sName;
CString m_sCompany;
CString m_sProductId;
protected:
UINT m_nBitmapID;
UINT m_nDuration;
UINT m_nTimerID;
CBitmap m_bitmap;
CPalette m_pal;
CWnd m_wndInvisible;
BOOL bUseColor;
COLORREF crTransColor;
};
#endif // !defined(AFX_GWEXTTRANSSPLASHWND_H__8AD9D764_7EBD_11DA_B5EA_525400EA266C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -