登录
首页 » Windows开发 » 《如何发送命令到文档对象》配套原代码 [代码性质] VC可重用代码段 我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档

《如何发送命令到文档对象》配套原代码 [代码性质] VC可重用代码段 我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档

于 2022-08-11 发布 文件大小:46.18 kB
0 159
下载积分: 2 下载次数: 1

代码说明:

《如何发送命令到文档对象》配套原代码 [代码性质] VC可重用代码段 我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档对象和几个视图。文档对象负责有规律地采集数据,然后通知相关的视图以不同的格式显示这些数据。文档对象为了有规律地采集数据,它需要一个定时(time)事件。但是,文档不是一个基于窗口的对象,所以它没有这样的定时事件。我权衡了三种解决方案: 1、在其中的一个视图中创建定时器。当事件发生时通知文档对象获取数据。 2、为每一个文档(或在每个文档内)创建一个单独的线程,以便这个线程能有规律地创建时间事件。 3、在CMainFrame中创建一个定时器并从中调用文档函数这三种方法我都不满意。能否给出一种更好的解决方案?- How to send commands to the Document Object matching the original code [code nature] VC reusable code segment I made a similar on the Windows 2000 Performance Monitor procedures. In this process, I created a document object and several view

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Case Tutorial C# code: including recruitment information, transport, recruitment...
    C#案例教程代码:包括招聘信息、交通工具、招聘管理、资源管理器、局域网聊天等案例-Case Tutorial C# code: including recruitment information, transport, recruitment management, resource managers, local area network chat, and Case
    2022-01-25 19:50:27下载
    积分:1
  • jsp页面的分页组件、用于分页显示文章列表
    jsp页面的分页组件、用于分页显示文章列表-jsp pages tabs components for displaying articles List
    2022-06-21 00:06:37下载
    积分:1
  • 这也是一个选课系统.但这是一个不同风格的程序.与前一个程序有一些区别....
    这也是一个选课系统.但这是一个不同风格的程序.与前一个程序有一些区别.-Elective System. But this is a different style of the proceedings. With a procedure is different.
    2022-11-27 06:45:03下载
    积分:1
  • MFC入门教程
    MFC入门教程-MFC Getting Started Tutorial ,,,,,,,,,,
    2022-03-01 03:41:00下载
    积分:1
  • 例1
    例1-1 假设有A,B,C,D,E五个系进行田径对抗赛,各 系的单项成绩均已存入计算机,并构成一张表,表中每一行的形式为项目名称性别 系名 成绩 得分 编写算法,处理上述表格,以统计各系的男、女总分和团体总分,并输出。 -Example 1-1 assume that A, B, C, D, E Department of track and field five teams, each department have been deposited in the individual grade computers, and constitutes a table, each row in the table for the preparation of the form of algorithms, treatment the above table, the statistical departments of the men" s and women" s scores and group scores, and output.
    2022-03-15 21:26:43下载
    积分:1
  • 汉字可以提取各种矩阵和翻转,程序…
    能够提取汉字多种字模,并能翻转,可用于显示屏的程序设计,非常实用。-Chinese characters can extract a variety of matrix and overturned, the procedure can be used to display design, very practical.
    2022-07-08 04:48:36下载
    积分:1
  • acasscascs
    你好,我的朋友
    2023-07-09 17:50:03下载
    积分:1
  • .写一个程序,能够读一行 string, 然后打出 最长的 那个 substring p (就是最长的小分句),并且那个小分句要求出现超过一次的。如果有超过1个...
    .写一个程序,能够读一行 string, 然后打出 最长的 那个 substring p (就是最长的小分句),并且那个小分句要求出现超过一次的。如果有超过1个那样的substring, 只要打出那个字母顺序排后面的-. To write a program that can read his string, and then played the longest substring p (is the longest small clause), and request that a small clause appears more than once. If there is more than one kind of substring, as long as the shot was behind schedule in alphabetical order
    2022-06-30 23:39:46下载
    积分:1
  • 电压输出设计,AT89C51,DAC0808,把某一特定电压转成指定电压输出,输出电压通过键盘输入即可调...
    电压输出设计,AT89C51,DAC0808,把某一特定电压转成指定电压输出,输出电压通过键盘输入即可调
    2023-06-07 10:50:04下载
    积分:1
  • Rekursif列表
    Rekursif List#include "boolean.h"#include "listrekursif.h"#include #include /* Manajemen Memori */address Alokasi (infotype X) {    address P; /* Algoritma */ P = (address)malloc(sizeof(ElmtList)); if (P != Nil) {/* alokasi berhasil */ Info(P) = X; 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-03-24 03:46:16下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载