-
我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档对象和几个视图。文档对象负责有规律地采集数据,然后通知相关的视图以不同...
我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档对象和几个视图。文档对象负责有规律地采集数据,然后通知相关的视图以不同的格式显示这些数据。文档对象为了有规律地采集数据,它需要一个定时(time)事件。但是,文档不是一个基于窗口的对象,所以它没有这样的定时事件。我权衡了三种解决方案: 1、在其中的一个视图中创建定时器。当事件发生时通知文档对象获取数据。 2、为每一个文档(或在每个文档内)创建一个单独的线程,以便这个线程能有规律地创建时间事件。 3、在CMainFrame中创建一个定时器并从中调用文档函数这三种方法我都不满意。能否给出一种更好的解决方案?
- 2023-07-11 15:35:03下载
- 积分:1
-
依次执行一系列程序且每个程序之间执行有时间间隔。
依次执行一系列程序且每个程序之间执行有时间间隔。- Carries out between in turn a series of procedures also each
procedure carries out has the time-gap.
- 2022-03-07 19:38:14下载
- 积分:1
-
应用程序向导创建了这个listprocess应用你。这applicationnot…
AppWizard has created this listprocess application for you. This applicationnot only demonstrates the basics of using the Microsoft Foundation classesbut is also a starting point for writing your application.
- 2022-07-23 02:32:01下载
- 积分:1
-
最简单的用工作线程控制有进程条的窗口,主窗口调用后,调用工作线程,并显示模式对话框,并可控制线程的进展――在对话框上有pause和stop按钮...
最简单的用工作线程控制有进程条的窗口,主窗口调用后,调用工作线程,并显示模式对话框,并可控制线程的进展――在对话框上有pause和stop按钮-most simple thread work with a process control of the window, the main window to call after call work thread, and displays the dialog, can control the progress of threads-- in a box on pause and stop buttons
- 2022-12-01 07:30:04下载
- 积分:1
-
VB进程编程原代码.本程序在Win98+VB6测试通过.
VB进程编程原代码.本程序在Win98+VB6测试通过.-VB source code programming process. The Win98 VB6 procedures in the test.
- 2022-03-11 19:13:09下载
- 积分:1
-
查看系统进程信息,谢谢指教
查看系统进程信息,谢谢指教-View systematic process of information, Thank you for your excellent suggestion INTEREST
- 2022-03-24 06:55:15下载
- 积分:1
-
一个封装了线程模型的类
一个封装了线程模型的类-a package of thread-like model
- 2022-08-19 16:59:04下载
- 积分:1
-
监视进程的时间,运行状态等信息的程序.(xp下请重新编译)
监视进程的时间,运行状态等信息的程序.(xp下请重新编译)-Monitor the process of time, running the procedures and other information. (Xp under please recompile)
- 2023-05-28 07:05:03下载
- 积分:1
-
multithreading separate document, the document is divided into arbitrary size of...
多线程文件分割,把文件分割成任意大小的可连接大文件-multithreading separate document, the document is divided into arbitrary size of large files can be linked
- 2022-04-07 14:19:11下载
- 积分:1
-
Own multi
自己做的
多线程抽奖
功能比较少做一个示范-Own multi-threading of the draw features to make a model less
- 2022-02-04 12:44:13下载
- 积分:1