gwexttranssplashwnd.h

来自「该项目是为PPC(PocketPc)使用者提供方便的理财事务.如,现金的借贷,债」· C头文件 代码 · 共 69 行

H
69
字号
// 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

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 + =
减小字号Ctrl + -
显示快捷键?