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

📄 ekdoclist.h

📁 < MFC经典问答>>是微软类库经常遇到的问题
💻 H
字号:
// EkDocList.h : header file
//

#ifndef __EKDOCLIST_H__
#define __EKDOCLIST_H__

#include <afxtempl.h>	// For CTypedPtrList template

///////////////////////////////////////////////////////////
// CEkDocList : enumerator class for the document objects
//            in an MDI application

class CEkDocList
{
public:
	// Constuction - Destruction
	CEkDocList();	// The constructor fills our internal
					// list of pointer to document objects

	~CEkDocList();

	// Operations
	CDocument* GetNextDoc();  // Gets next document object

	// Forbid copy and assignment of CEkDocList objects
private:
	CEkDocList( const CEkDocList& );
	const CEkDocList& operator = ( const CEkDocList& );

private:
	// Implementation

	// Internal list of pointers to document objects
	CTypedPtrList< CObList, CDocument* > m_DocList;

	// Current position in the above list
	POSITION m_posDocList;
};

#endif   // __EKDOCLIST_H__

⌨️ 快捷键说明

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