📄 ngdocenum.h
字号:
////////////////////////////////////////////////////////////////
// CNGDocEnumerator Copyright 1995 Microsoft Systems Journal.
//
// CNGDocEnumerator Enumerates all the documents in an application.
// See ENUMDOC.CPP for an example of how to use it.
class NGLIB_EXT_CLASS CNGDocEnumerator {
private:
#if (_MFC_VER >= 0x0400)
CDocManager* m_pDocManager; // MFC 4.0+ uses doc manager
#else
CPtrList* m_pTemplateList; // list of CDocTemplate's
#endif
POSITION m_posNextTemplate;// current POSITION in above
CDocTemplate* m_pDocTemplate; // current document template
POSITION m_posNextDoc; // current POSITION in above
public:
CNGDocEnumerator();
void Rewind();
CDocument* GetNextDoc();
CDocument* operator() () { return GetNextDoc(); }
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -