Description: 用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) Platform: |
Size: 239616 |
Author:沈显威 |
Hits: