Get Document class anywhere in MFC program.
来源:互联网 发布:linux sort 编辑:程序博客网 时间:2024/04/27 23:55
inline C3DBuilderDoc* Layer::GetDocument()
{
C3DBuilderDoc* builderdoc = NULL;
CWinApp* pApp = AfxGetApp();
C3DBuilderApp* pA = (C3DBuilderApp*) pApp;
POSITION pos;
pos = pA->pDocTemplate->GetFirstDocPosition();
while (pos != NULL)
{
CDocument* pDoc = pA->pDocTemplate->GetNextDoc(pos);
if (pDoc->IsKindOf(RUNTIME_CLASS(C3DBuilderDoc)))
{
builderdoc = (C3DBuilderDoc*) pDoc;
}
}
return builderdoc;
}
- Get Document class anywhere in MFC program.
- Get program files folder in C#
- Get ancestors list in an XML document
- [programming-c#]Get My Document in C#
- Get field class in annotations processor
- Can I get word under mouse in any program in C# app?
- In ActionCommand derived class to get ActionRequest, ActionResponse
- How to Get a List of Class Attributes in Python
- Design a HashMap class in C++. Implement put, get methods.
- Collect preferences failed, class java/lang/AutoCloseable not found in C:\Program Files (x86)\Androi
- Collect preferences failed, class java/lang/AutoCloseable not found in C:\Program Files (x86)\Androi
- Collect preferences failed, class java/lang/AutoCloseable not found in C:\Program Files (x86)\Andro
- class.get...
- Excel GET.DOCUMENT说明
- as3.0 Document Class
- path in java program
- the message in program
- Encoding in Java program
- Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=server
- 使用Struts2的拦截器实现权限控制
- 魔兽maphack其实很简单
- 11月14号,到达济南
- Javascript实现DataGrid或DataList等容器上面选择单选框RadioButton
- Get Document class anywhere in MFC program.
- 佳能 digital photo professional直接安装方法
- 正则表达式限制输入字符,数字,汉字等
- vss的ss.ini丢失或损坏导致的vss无法登录错误
- c语言运算符号
- 广州
- Effective java --读书笔记 -- 拆箱和装箱
- seoJISHU
- Effective java 代码优化实例--创建和销毁对象