splashdlg.h

来自「beereader source code」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_SPLASHDLG_H__C03DDD06_BAF1_43C0_8408_FCCF07F9BEF2__INCLUDED_)
#define AFX_SPLASHDLG_H__C03DDD06_BAF1_43C0_8408_FCCF07F9BEF2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SplashDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSplashDlg dialog
#define WM_SYSTEM_LOAD  WM_USER+255

class CSplashDlg : public CDialog
{
// Construction
public:
	void UpdateLoadingStatus( int iTag,CString szStatus);
	CSplashDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSplashDlg)
	enum { IDD = IDD_SPLASH };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSplashDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL
private:
	CBitmap m_bitmap;
	int     m_nBitmapWidth,m_nBitmapHeight;
	BOOL    m_bCreate;
	int     m_nxPos,m_nyPos;
	CFont   m_myFont;
	CString m_szStatus;
// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSplashDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnPaint();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//}}AFX_MSG
	afx_msg LRESULT OnSystemLoading(WPARAM wParam, LPARAM lParam);

	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SPLASHDLG_H__C03DDD06_BAF1_43C0_8408_FCCF07F9BEF2__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?