findsheet.h

来自「Visual C++编程宝典随书光盘里的代码」· C头文件 代码 · 共 72 行

H
72
字号
#if !defined(AFX_FINDSHEET_H__6D90A3B5_0FD3_11D2_8DB6_204C4F4F5020__INCLUDED_)
#define AFX_FINDSHEET_H__6D90A3B5_0FD3_11D2_8DB6_204C4F4F5020__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CFindSheet

class CFindSheet : public CPropertySheet
{
	DECLARE_DYNAMIC(CFindSheet)

// Construction
public:
	CFindSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
	CFindSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFindSheet)
	public:
	virtual BOOL OnInitDialog();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
	//}}AFX_VIRTUAL

protected:
	int m_iLastActivePage;
	CUIntArray m_arrDisabledPages;
	void SetDisabledText(int iPage);
	void DisablePage(int iFirstPage, ...);
	BOOL IsPageDisabled(int iPage);
	void SetEnabledText(int iPage);

protected:
	CFont m_fontTab;

public:
	void EnablePage(int iPage);
	void SetResults(int nHits);
	void SetResultsTabCaption(int nHits);

// Implementation
public:
	virtual ~CFindSheet();

	// Generated message map functions
protected:
	//{{AFX_MSG(CFindSheet)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_FINDSHEET_H__6D90A3B5_0FD3_11D2_8DB6_204C4F4F5020__INCLUDED_)

⌨️ 快捷键说明

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