cpurate
所属分类:Windows编程
开发工具:Visual C++
文件大小:170KB
下载次数:20
上传日期:2006-03-10 07:11:58
上 传 者:
大地飞歌22
说明:
在 VCKBASE 的在线杂志 第36期 看到网友 xingxueping 的一篇名为“图形显示CPU内存利用率”的文章。感觉很不错。唯一不足的是外观不太完美, 所以有了要改进的想法。我又参考了一下Windows任务管理器(图一),于是模仿MS的东西,做了这个控件......
[代码性质] VC可重用代码段
[代码作者] 叶小舟
[文件大小] 174K
[更新日期] 2005-11-11 10:31:00
(VCKBASE in the online magazine section 36 of xingxueping see a netizen called "graphics CPU memory utilization," the article. The feeling is very good. The only shortage is not perfect appearance, with the idea to improve. I have drawn a bit Windows Task Manager (Figure 1), and MS imitate things done the controls ...... [code nature] VC reusability of the code [code writers] Ye shallop [File Size : 174K [updated] 2005- 11-11 10:31:00)
文件列表:
CPURateControl\CPURateControl.cpp (1997, 2005-09-09)
CPURateControl\CPURateControl.def (236, 2005-09-08)
CPURateControl\CPURateControl.dsp (8794, 2005-09-09)
CPURateControl\CPURateControl.dsw (551, 2005-09-08)
CPURateControl\CPURateControl.h (1016, 2005-09-08)
CPURateControl\CPURateControl.ico (1078, 2005-09-08)
CPURateControl\CPURateControl.odl (2326, 2005-09-09)
CPURateControl\CPURateControl.rc (4824, 2005-09-09)
CPURateControl\CPURateControlCtl.bmp (238, 2005-09-08)
CPURateControl\CPURateControlCtl.cpp (10225, 2005-09-12)
CPURateControl\CPURateControlCtl.h (2554, 2005-09-09)
CPURateControl\CPURateControlPpg.cpp (2580, 2005-09-08)
CPURateControl\CPURateControlPpg.h (1520, 2005-09-08)
CPURateControl\Release (0, 2005-10-25)
CPURateControl\Resource.h (597, 2005-09-08)
CPURateControl\StdAfx.cpp (204, 2005-09-08)
CPURateControl\StdAfx.h (1185, 2005-09-08)
CPURateControl\TestAPP\cpuratecontrol.cpp (945, 2005-09-08)
CPURateControl\TestAPP\cpuratecontrol.h (1757, 2005-09-08)
CPURateControl\TestAPP\cpuratecontrol1.cpp (1397, 2005-09-08)
CPURateControl\TestAPP\cpuratecontrol1.h (1866, 2005-09-08)
CPURateControl\TestAPP\cpuratecontrol2.cpp (1747, 2005-09-08)
CPURateControl\TestAPP\cpuratecontrol2.h (1952, 2005-09-08)
CPURateControl\TestAPP\Debug (0, 2005-10-25)
CPURateControl\TestAPP\res\TestAPP.ico (1078, 2005-09-08)
CPURateControl\TestAPP\res\TestAPP.rc2 (399, 2005-09-08)
CPURateControl\TestAPP\res (0, 2005-09-08)
CPURateControl\TestAPP\resource.h (1099, 2005-09-28)
CPURateControl\TestAPP\StdAfx.cpp (209, 2005-09-08)
CPURateControl\TestAPP\StdAfx.h (1054, 2005-09-08)
CPURateControl\TestAPP\TestAPP.cpp (2077, 2005-09-08)
CPURateControl\TestAPP\TestAPP.dsp (4660, 2005-09-08)
CPURateControl\TestAPP\TestAPP.dsw (581, 2005-09-08)
CPURateControl\TestAPP\TestAPP.h (1335, 2005-09-08)
CPURateControl\TestAPP\TestAPP.rc (6606, 2005-09-28)
CPURateControl\TestAPP\TestAPPDlg.cpp (6981, 2005-09-28)
CPURateControl\TestAPP\TestAPPDlg.h (1862, 2005-09-28)
CPURateControl\TestAPP (0, 2005-10-25)
... ...
========================================================================
ActiveX Control DLL : CPURATECONTROL
========================================================================
ControlWizard has created this project for your CPURATECONTROL ActiveX Control
DLL, which contains 1 control.
This skeleton project not only demonstrates the basics of writing an
ActiveX Control, but is also a starting point for writing the specific
features of your control.
This file contains a summary of what you will find in each of the files
that make up your CPURATECONTROL ActiveX Control DLL.
CPURateControl.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
CPURateControl.h
This is the main include file for the ActiveX Control DLL. It
includes other project-specific includes such as resource.h.
CPURateControl.cpp
This is the main source file that contains code for DLL initialization,
termination and other bookkeeping.
CPURateControl.rc
This is a listing of the Microsoft Windows resources that the project
uses. This file can be directly edited with the Visual C++ resource
editor.
CPURateControl.def
This file contains information about the ActiveX Control DLL that
must be provided to run with Microsoft Windows.
CPURateControl.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to generate and edit message maps and dialog data
maps and to generate prototype member functions.
CPURateControl.odl
This file contains the Object Description Language source code for the
type library of your control.
/////////////////////////////////////////////////////////////////////////////
CPURateControl control:
CPURateControlCtl.h
This file contains the declaration of the CCPURateControlCtrl C++ class.
CPURateControlCtl.cpp
This file contains the implementation of the CCPURateControlCtrl C++ class.
CPURateControlPpg.h
This file contains the declaration of the CCPURateControlPropPage C++ class.
CPURateControlPpg.cpp
This file contains the implementation of the CCPURateControlPropPage C++ class.
CPURateControlCtl.bmp
This file contains a bitmap that a container will use to represent the
CCPURateControlCtrl control when it appears on a tool palette. This bitmap
is included by the main resource file CPURateControl.rc.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
stdafx.h, stdafx.cpp
These files are used to build a precompiled header (PCH) file
named stdafx.pch and a precompiled types (PCT) file named stdafx.obj.
resource.h
This is the standard header file, which defines new resource IDs.
The Visual C++ resource editor reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
ControlWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
/////////////////////////////////////////////////////////////////////////////
近期下载者:
相关文件:
收藏者: