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

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

于 2022-08-11 发布 文件大小:46.18 kB
0 140
下载积分: 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 个回复

  • LEACH协议的Matlab源代码
    LEACH协议的Matlab源代码
    2023-04-30 22:55:03下载
    积分:1
  • Microsoft's video compression source code Bluetooth
    微软的视频压缩源代码MPG4-Microsoft"s video compression source code Bluetooth
    2022-12-31 12:20:03下载
    积分:1
  • operating system using optimal allocation algorithm xk size distribution space
    操作系统之采用最优分配算法分配xk大小的空间-operating system using optimal allocation algorithm xk size distribution space
    2023-04-18 23:20:03下载
    积分:1
  • 通过寻找图片中的缺陷点而判断凹点,简单的识别v型
    通过寻找图片中的缺陷点而判断凹点,简单的识别v型-By finding fault, and the judge concave point,
    2022-03-19 02:15:58下载
    积分:1
  • STSW-WESU1套件源码
    意法半导体公司的STSW-WESU1开发套件源码;该开发套件用于IMU系统开发,具有10轴MEMS,包含三轴加速度,三轴陀螺仪,三轴地磁以及气压计。包含LIS3MDL三轴地磁芯片驱动程序代码,LPS25HB气压计驱动代码,LSM6DS36轴陀螺与加速度计芯片驱动代码。
    2022-02-21 02:49:09下载
    积分:1
  • 很好的控件
    很好的控件rxlib-2.7.7.zip RxLib for Delphi2006 (02/01/2006) ======================================= * Add the rxLib Unit directory (...RxLib_2006Units) to: Tools->options   - Environment Options    - Delphi Options      - Library - Win32 | Library Path * Open the project from IDE: File->Open: ...RxLib_2006UnitsRxlib2006.bdsgroup * Compile All packeges: Project-> Build All projects * Install all packages: Una vez que todos los paquetes se han compilado correctamente se  deben instalar los que son de dise駉; Click derecho sobre los packages y pulsar [Install] (View -> Project Manager):    dclrx2006.bpl [install]    dcldb2006.bpl [install]    dcldb2006.bpl [install]
    2023-04-20 17:00:04下载
    积分:1
  • VC++6.0粒子群源代码,搜索速度极快,简单实用!
    VC++6.0粒子群源代码,搜索速度极快,简单实用!-VC++ 6.0 Particle Swarm source code, the search extremely fast, simple and practical!
    2022-03-11 19:40:12下载
    积分:1
  • The two computers can achieve communication. As long as the debug folder in the...
    该程序可以实现两台计算机的通信。只要在debug文件夹中按要求输入对方的IP,就可以实现功能,可以传文件之类的。-The two computers can achieve communication. As long as the debug folder in the required input of each other" s IP, we can achieve features such as mass file.
    2022-07-09 10:29:00下载
    积分:1
  • 小画板程序,模拟windows下的小画板程序
    小画板程序,模拟windows下的小画板程序-paintboard
    2022-03-06 04:26:44下载
    积分:1
  • 监视浏览器的上网时间
    监视浏览器的上网时间-surveillance browser Internet
    2023-02-01 22:30:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载