文件名称:MFC-handle-conversion
-
所属分类:
- 标签属性:
- 上传时间:2016-05-26
-
文件大小:13.05kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一般我们使用的框架是VC提供的Wizard生成的MFC App Wizard(exe)框架,无论是多文档还是单文档,都存在指针获取和操作 问题。
下面这节内容主要是一般的框架,然后再讲多线程中的指针使用。使用到的类需要包含响应的头文件。 首先一般获得本类(视,文档,对话框都支持)实例指针 this,用this的目的,主要可以通过类中的函数向其他类或者函数中发指针,以便于在非本类中操作和使用本类中的功能。 这其中的关键在于理解 m_pMainWnd, AfxGetApp(),AfxGetMainWnd() 的意义!
-General framework we are using the MFC App Wizard (exe) provides the framework Wizard VC generated, whether it is a single document or multiple documents, there are pointers to access and operational problems. The following section is primarily aimed at the general frame, and then repeat that multiple threads using a pointer. Use the class needs to contain the response headers. First, get this general class (depending on the document, dialog support) instance pointer this, with this purpose, the main pointer can be made through the class of functions to other classes or functions in order to operate in this class and use non this class features. Which is the key to understanding m_pMainWnd, AfxGetApp (), AfxGetMainWnd () meaning!
下面这节内容主要是一般的框架,然后再讲多线程中的指针使用。使用到的类需要包含响应的头文件。 首先一般获得本类(视,文档,对话框都支持)实例指针 this,用this的目的,主要可以通过类中的函数向其他类或者函数中发指针,以便于在非本类中操作和使用本类中的功能。 这其中的关键在于理解 m_pMainWnd, AfxGetApp(),AfxGetMainWnd() 的意义!
-General framework we are using the MFC App Wizard (exe) provides the framework Wizard VC generated, whether it is a single document or multiple documents, there are pointers to access and operational problems. The following section is primarily aimed at the general frame, and then repeat that multiple threads using a pointer. Use the class needs to contain the response headers. First, get this general class (depending on the document, dialog support) instance pointer this, with this purpose, the main pointer can be made through the class of functions to other classes or functions in order to operate in this class and use non this class features. Which is the key to understanding m_pMainWnd, AfxGetApp (), AfxGetMainWnd () meaning!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MFC handle conversion.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.