CDocument::GetNextView
来源:互联网 发布:ipad视频格式转换软件 编辑:程序博客网 时间:2024/04/30 18:12
Call this function to iterate through all of the document's views.
virtual CView* GetNextView(
POSITION& rPosition
) const;
A pointer to the view identified by rPosition. The function returns the view identified by rPosition and then sets rPosition to the POSITION value of the next view in the list. If the retrieved view is the last in the list, then rPosition is set to NULL.//To get the first view in the list of views:
// POSITION pos = GetFirstViewPosition();
// CView* pFirstView = GetNextView(pos);
//
// This example uses CDocument::GetFirstViewPosition
// and GetNextView to repaint each view.
// An easier way to accomplish the same result is to call
// UpdateAllViews(NULL);
void CExampleDoc::OnRepaintAllViews()
{
POSITION pos = GetFirstViewPosition();
while (pos != NULL)
{
CView* pView = GetNextView(pos);
pView->UpdateWindow();
}
}
- CDocument::GetNextView
- CDocument
- CDocument
- CDocument
- CDocument相关
- CDocument::OnOpenDocument
- CDocument::SetModifiedFlag
- CDocument Class
- CDocument::SetModifiedFlag
- CDocument ::OnNewDocument和CDocument :: OnOpenDocument
- CDocument - MSDN6翻译交流
- CDocument文档类
- vc++之cdocument
- CDocument / CView / CFrameWnd
- CDocument文档类
- MFC文档类CDocument
- CDocument文档类
- CDocument类的使用
- Linux中的内存分配和释放之bootmam_init()函数分析
- 模版方法基本框架
- 临场应变能力2
- 临场应变能力3
- 可视化实体设计(VED)-VS插件
- CDocument::GetNextView
- arm汇编相关
- 建议政府搞个超级大的公共业务集群
- SQL函数(整理的文档共享一下)
- ASCII码对照表[备忘]
- 提高asp.net网站性能的7个方法
- VSS自动登陆设置
- 精美图片
- [转]2009年计算机会议排名