findsheet.h
来自「Visual_C++[1].NET_Bible1 Visual_C++宝典书中」· C头文件 代码 · 共 41 行
H
41 行
#pragma once
#define DISABLED_TEXT " - Disabled"
class CFindSheet : public CPropertySheet
{
DECLARE_DYNAMIC(CFindSheet)
public:
CFindSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
CFindSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
virtual ~CFindSheet();
protected:
int m_iLastActivePage;
CUIntArray m_arrDisabledPages;
void DisablePage(int iFirstPage, ...);
void SetDisabledText(int iPage);
BOOL IsPageDisabled(int iPage);
void EnablePage(int iPage);
void SetEnabledText(int iPage);
void SetResults(int nHits);
void SetResultsTabCaption(int nHits);
CFont m_fontTab;
protected:
DECLARE_MESSAGE_MAP()
public:
virtual BOOL OnInitDialog();
protected:
virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
// Made a friend to have sole outside access
// to the EnablePage function.
friend class CFindPage;
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?