⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 b14dlg.h

📁 书上的关于屏幕保护程序的代码
💻 H
字号:
// B14Dlg.h : header file
//

#ifndef __SCREENSAVERDLG_H__
#define __SCREENSAVERDLG_H__

/////////////////////////////////////////////////////////////////////////////

// CB14Dlg:
// A configuration dialog for Win95+, WinNT3+ compliant screen savers.
// For use with CScreenSaverWnd, usually found in ScreenSaverWnd.cpp and .h.
// See documentation in those files for more information on screen savers.

/////////////////////////////////////////////////////////////////////////////

#include <scrnsave.h>

// Note: the dialog resource should be DLG_SCRNSAVECONFIGURE.
// Note: the icon resource should be ID_APP.

class CB14Dlg : public CDialog
{
	DECLARE_DYNAMIC(CB14Dlg)
public:
	CB14Dlg();

// Attributes
protected:
public:

// Operations
public:

// Overridables
public:

// Overrides
public:
	//{{AFX_VIRTUAL(CB14Dlg)
	//}}AFX_VIRTUAL
	virtual BOOL OnInitDialog();

// Implementation
public:
	virtual ~CB14Dlg();
	static CB14Dlg* sm_pTheConfigureDialog;

protected:
	virtual LRESULT  WindowProc(UINT uMsg,WPARAM wParam,LPARAM lParam);
	virtual LRESULT DefWindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
	//{{AFX_MSG(CB14Dlg)
	afx_msg void OnNcDestroy();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

//friend BOOL WINAPI ScreenSaverConfigureDialog(HWND hDlg, UINT uMsg,
//                                              WPARAM wParam,
//                                              LPARAM lParam);
};

/////////////////////////////////////////////////////////////////////////////

inline CB14Dlg* AfxGetScreenSaverDialog()
	{
		return CB14Dlg::sm_pTheConfigureDialog;
	}

/////////////////////////////////////////////////////////////////////////////

BOOL WINAPI ScreenSaverConfigureDialog(HWND hDlg, UINT uMsg,
                                       WPARAM wParam, LPARAM lParam);
BOOL WINAPI RegisterDialogClasses(HANDLE hInstance);

/////////////////////////////////////////////////////////////////////////////

#endif // __SCREENSAVERDLG_H__

⌨️ 快捷键说明

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