文件名称:自定义控件
- 所属分类:
- 界面编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 234kb
- 下载次数:
- 0次
- 提 供 者:
- 沈**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用VC写的自定义控件的程序
该控件是一个MFC常规DLL,它实现了一个简单的功能,类似于Static控件。
它可以显示一段文本
当用户利用鼠标左键单击时,该控件就给父窗口发送一个单击通知消息
可以响应两个用户自定义消息,WM_SETCONTROLTEXT(设置显示的文本),WM_GETCONTROLTEXT(得到显示的文本)-VC write OCX control of the process is a conventional MFC DLL, it achieved a simple function, like Static Control. It can show a text when users click the left mouse button, the controls became a father window click send alerts to respond to two user-defined information. WM_SETCONTROLTEXT (setting displays the text) WM_GETCONTROLTEXT (to be shown in the text)
该控件是一个MFC常规DLL,它实现了一个简单的功能,类似于Static控件。
它可以显示一段文本
当用户利用鼠标左键单击时,该控件就给父窗口发送一个单击通知消息
可以响应两个用户自定义消息,WM_SETCONTROLTEXT(设置显示的文本),WM_GETCONTROLTEXT(得到显示的文本)-VC write OCX control of the process is a conventional MFC DLL, it achieved a simple function, like Static Control. It can show a text when users click the left mouse button, the controls became a father window click send alerts to respond to two user-defined information. WM_SETCONTROLTEXT (setting displays the text) WM_GETCONTROLTEXT (to be shown in the text)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
自定义控件
..........\CustomControl
..........\.............\CustomControl
..........\.............\.............\CustomControl.aps
..........\.............\.............\CustomControl.cpp
..........\.............\.............\CustomControl.def
..........\.............\.............\CustomControl.dll
..........\.............\.............\CustomControl.h
..........\.............\.............\CustomControl.rc
..........\.............\.............\CustomControl.vcproj
..........\.............\.............\MyControl.cpp
..........\.............\.............\MyControl.h
..........\.............\.............\ReadMe.txt
..........\.............\.............\res
..........\.............\.............\...\CustomControl.rc2
..........\.............\.............\Resource.h
..........\.............\.............\stdafx.cpp
..........\.............\.............\stdafx.h
..........\.............\CustomControl.ncb
..........\.............\CustomControl.sln
..........\TestControl
..........\...........\TestControl
..........\...........\...........\CustomControl.dll
..........\...........\...........\CustomControl.lib
..........\...........\...........\MyControl.h
..........\...........\...........\ReadMe.txt
..........\...........\...........\res
..........\...........\...........\...\TestControl.manifest
..........\...........\...........\...\TestControl.rc2
..........\...........\...........\resource.h
..........\...........\...........\stdafx.cpp
..........\...........\...........\stdafx.h
..........\...........\...........\TestControl.aps
..........\...........\...........\TestControl.cpp
..........\...........\...........\TestControl.exe
..........\...........\...........\TestControl.h
..........\...........\...........\TestControl.rc
..........\...........\...........\TestControl.vcproj
..........\...........\...........\TestControlDlg.cpp
..........\...........\...........\TestControlDlg.h
..........\...........\TestControl.ncb
..........\...........\TestControl.sln
..........\CustomControl
..........\.............\CustomControl
..........\.............\.............\CustomControl.aps
..........\.............\.............\CustomControl.cpp
..........\.............\.............\CustomControl.def
..........\.............\.............\CustomControl.dll
..........\.............\.............\CustomControl.h
..........\.............\.............\CustomControl.rc
..........\.............\.............\CustomControl.vcproj
..........\.............\.............\MyControl.cpp
..........\.............\.............\MyControl.h
..........\.............\.............\ReadMe.txt
..........\.............\.............\res
..........\.............\.............\...\CustomControl.rc2
..........\.............\.............\Resource.h
..........\.............\.............\stdafx.cpp
..........\.............\.............\stdafx.h
..........\.............\CustomControl.ncb
..........\.............\CustomControl.sln
..........\TestControl
..........\...........\TestControl
..........\...........\...........\CustomControl.dll
..........\...........\...........\CustomControl.lib
..........\...........\...........\MyControl.h
..........\...........\...........\ReadMe.txt
..........\...........\...........\res
..........\...........\...........\...\TestControl.manifest
..........\...........\...........\...\TestControl.rc2
..........\...........\...........\resource.h
..........\...........\...........\stdafx.cpp
..........\...........\...........\stdafx.h
..........\...........\...........\TestControl.aps
..........\...........\...........\TestControl.cpp
..........\...........\...........\TestControl.exe
..........\...........\...........\TestControl.h
..........\...........\...........\TestControl.rc
..........\...........\...........\TestControl.vcproj
..........\...........\...........\TestControlDlg.cpp
..........\...........\...........\TestControlDlg.h
..........\...........\TestControl.ncb
..........\...........\TestControl.sln