-
《如何发送命令到文档对象》配套原代码 [代码性质] VC可重用代码段 我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档
《如何发送命令到文档对象》配套原代码 [代码性质] 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
- 2022-08-11 05:55:04下载
- 积分:1
-
parts cutting issue for a fixed width of the rectangular plate W, the height of...
零件切割问题
给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。问如何切割使得所使用的矩形板的高度h最小?-parts cutting issue for a fixed width of the rectangular plate W, the height of rectangular plate unrestricted. Need from the board is cutting out respectively n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked how cutting makes use of the rectangular plate height h minimum?
- 2022-03-24 18:18:21下载
- 积分:1
-
VB考勤系统源程序
VB考勤系统源程序-VB source appraisal system
- 2023-07-31 01:50:03下载
- 积分:1
-
水文资料整理程序
水文资料整理程序-hydrological data compilation process
- 2022-02-02 11:22:47下载
- 积分:1
-
一个清除各种历史记录的代码
一个清除各种历史记录的代码-a clear historical record of all code
- 2022-02-06 04:41:32下载
- 积分:1
-
nokiaarmy的XAP包
nokiaarmy的XAP包没有混淆的,可以直接反编译删除了wmappprheader。XML文件改名为XAP可以直接部署。研究逆向WP的难得的文件从诺基亚取得的。
- 2023-06-02 15:25:03下载
- 积分:1
-
项目代码。原名为棉阳冲击
系统测试用的。・
项目代码。原名为棉阳冲击
系统测试用的。・-item code. It was originally called Cotton Yang impact of system testing.
- 2022-02-04 09:17:17下载
- 积分:1
-
这一小段程序是用来检查当前所用的计算机是否满足所设精度的要求。...
这一小段程序是用来检查当前所用的计算机是否满足所设精度的要求。-This is a short procedure is used to check whether the computer is currently using to meet the established accuracy requirements.
- 2023-01-21 11:35:03下载
- 积分:1
-
Ping工具,使用VC6编译通过
ping tool, use vc6 compile passed
- 2022-01-25 16:18:08下载
- 积分:1
-
国外结构计算程序,FORTRAN高级语言编写,主要用于结构分析。...
国外结构计算程序,FORTRAN高级语言编写,主要用于结构分析。-abroad structure calculation procedures, the High FORTRAN language, mainly for structural analysis.
- 2022-02-05 22:50:48下载
- 积分:1