toc.h

来自「用数据库ACCESS和VISUAL C++编程」· C头文件 代码 · 共 49 行

H
49
字号
#if !defined(AFX_TOC_H__283AE20C_85BC_42D5_995E_80985E12C188__INCLUDED_)
#define AFX_TOC_H__283AE20C_85BC_42D5_995E_80985E12C188__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.


// Dispatch interfaces referenced by this interface
class CHistory;

/////////////////////////////////////////////////////////////////////////////
// CToc wrapper class

class CToc : public COleDispatchDriver
{
public:
	CToc() {}		// Calls COleDispatchDriver default constructor
	CToc(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CToc(const CToc& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:

// Operations
public:
	long GetCount();
	CString Item(VARIANT* Index);
	void Add(LPCTSTR text);
	void Remove(LPCTSTR text);
	void RemoveAll();
	void Navigate(LPCTSTR tocEntry);
	void GotoPage(long pageNumber);
	CHistory GetHistory();
	long pageNumber(VARIANT* Index);
	long GetCurrentPage();
	void SetCurrentPage(long nNewValue);
	long GetSelectedItem();
};

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

#endif // !defined(AFX_TOC_H__283AE20C_85BC_42D5_995E_80985E12C188__INCLUDED_)

⌨️ 快捷键说明

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