文件名称:modeless_tracker_demo
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:30.28kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
这篇文章提出了一种轻松管理无模式对话框的方法。功能包括:
确定是否已经建立的对话
时自动关闭对话框的父对象被销毁
通知父对象的时候,对话框关闭
在从父对象对话框访问功能。
这个概念是基于一个跟踪对象,在对话框的父母和一个助手类从该对话框是双源存在。帮助类自动化之间的对话与互动的跟踪,并允许父跟踪管理对话框。
所谓“父母”是用来表示类,创建无模式对话框,因此保持它的眼睛负责。父不一定是父窗口。它可以是任何对象,需要有一个无模式对话框。-This article presents a method for easily managing modeless dialogs. Functionality includes:
Determining if the dialog is already created
Closing the dialog automatically when the parent object is destroyed
Notifying the parent object when the dialog is closed
Accessing functions in the dialog from the parent object.
The concept is based on a tracker object that exists in the dialog s parent and a helper class from which the dialog is dual-derived. The helper class automates the interaction between the dialog and its tracker, and the tracker allows the parent to manage the dialog.
The term "parent" is used to represent the class that creates the modeless dialog and is therefore responsible for keeping an eye on it. The parent is not necessarily a parent window. It could be any object that needs to have a modeless dialog.
确定是否已经建立的对话
时自动关闭对话框的父对象被销毁
通知父对象的时候,对话框关闭
在从父对象对话框访问功能。
这个概念是基于一个跟踪对象,在对话框的父母和一个助手类从该对话框是双源存在。帮助类自动化之间的对话与互动的跟踪,并允许父跟踪管理对话框。
所谓“父母”是用来表示类,创建无模式对话框,因此保持它的眼睛负责。父不一定是父窗口。它可以是任何对象,需要有一个无模式对话框。-This article presents a method for easily managing modeless dialogs. Functionality includes:
Determining if the dialog is already created
Closing the dialog automatically when the parent object is destroyed
Notifying the parent object when the dialog is closed
Accessing functions in the dialog from the parent object.
The concept is based on a tracker object that exists in the dialog s parent and a helper class from which the dialog is dual-derived. The helper class automates the interaction between the dialog and its tracker, and the tracker allows the parent to manage the dialog.
The term "parent" is used to represent the class that creates the modeless dialog and is therefore responsible for keeping an eye on it. The parent is not necessarily a parent window. It could be any object that needs to have a modeless dialog.
相关搜索: 无模式对话
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ModelessDialogTrackerDemo/DialogA.cpp
ModelessDialogTrackerDemo/DialogA.h
ModelessDialogTrackerDemo/DialogB.cpp
ModelessDialogTrackerDemo/DialogB.h
ModelessDialogTrackerDemo/DialogC.cpp
ModelessDialogTrackerDemo/DialogC.h
ModelessDialogTrackerDemo/ModelessDialogTracker.cpp
ModelessDialogTrackerDemo/ModelessDialogTracker.h
ModelessDialogTrackerDemo/ModelessDialogTrackerDemo.cpp
ModelessDialogTrackerDemo/ModelessDialogTrackerDemo.h
ModelessDialogTrackerDemo/ModelessDialogTrackerDemo.rc
ModelessDialogTrackerDemo/ModelessDialogTrackerDemo.sln
ModelessDialogTrackerDemo/ModelessDialogTrackerDemo.suo
ModelessDialogTrackerDemo/ModelessDialogTrackerDemo.vcproj
ModelessDialogTrackerDemo/ModelessDialogTrackerDemoDlg.cpp
ModelessDialogTrackerDemo/ModelessDialogTrackerDemoDlg.h
ModelessDialogTrackerDemo/ReadMe.txt
ModelessDialogTrackerDemo/res/
ModelessDialogTrackerDemo/res/ModelessDialogTrackerDemo.ico
ModelessDialogTrackerDemo/res/ModelessDialogTrackerDemo.manifest
ModelessDialogTrackerDemo/res/ModelessDialogTrackerDemo.rc2
ModelessDialogTrackerDemo/resource.h
ModelessDialogTrackerDemo/stdafx.cpp
ModelessDialogTrackerDemo/stdafx.h
ModelessDialogTrackerDemo/TrackDialogC.cpp
ModelessDialogTrackerDemo/TrackDialogC.h
ModelessDialogTrackerDemo/DialogA.h
ModelessDialogTrackerDemo/DialogB.cpp
ModelessDialogTrackerDemo/DialogB.h
ModelessDialogTrackerDemo/DialogC.cpp
ModelessDialogTrackerDemo/DialogC.h
ModelessDialogTrackerDemo/ModelessDialogTracker.cpp
ModelessDialogTrackerDemo/ModelessDialogTracker.h
ModelessDialogTrackerDemo/ModelessDialogTrackerDemo.cpp
ModelessDialogTrackerDemo/ModelessDialogTrackerDemo.h
ModelessDialogTrackerDemo/ModelessDialogTrackerDemo.rc
ModelessDialogTrackerDemo/ModelessDialogTrackerDemo.sln
ModelessDialogTrackerDemo/ModelessDialogTrackerDemo.suo
ModelessDialogTrackerDemo/ModelessDialogTrackerDemo.vcproj
ModelessDialogTrackerDemo/ModelessDialogTrackerDemoDlg.cpp
ModelessDialogTrackerDemo/ModelessDialogTrackerDemoDlg.h
ModelessDialogTrackerDemo/ReadMe.txt
ModelessDialogTrackerDemo/res/
ModelessDialogTrackerDemo/res/ModelessDialogTrackerDemo.ico
ModelessDialogTrackerDemo/res/ModelessDialogTrackerDemo.manifest
ModelessDialogTrackerDemo/res/ModelessDialogTrackerDemo.rc2
ModelessDialogTrackerDemo/resource.h
ModelessDialogTrackerDemo/stdafx.cpp
ModelessDialogTrackerDemo/stdafx.h
ModelessDialogTrackerDemo/TrackDialogC.cpp
ModelessDialogTrackerDemo/TrackDialogC.h
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.