文件名称:ActiveXShadeButton
介绍说明--下载内容均来自于网络,请自行研究使用
There are many owner-draw button written using C++ and the MFC classes. There a lso many ActiveX controls, mostly written in Visual Basic. While with C++ you can easily use both the MFC and the OCX controls, with Visual Basic you need to convert the MFC objects to an activex control. Unluckily, the class wizard doesn t cover all the messages and the events sent to an ActiveX control, and some messages are different, so most of the magic must be hand written.
Because sometimes a piece of code is more clear than the article itself, I included the porting of CxShadeButton to an ActiveX control, but it s just an example, in the article I will speak about a generic AxButtonCtrl. -There are many owner-draw button written using C++ and the MFC classes. There a lso many ActiveX controls, mostly written in Visual Basic. While with C++ you can easily use both the MFC and the OCX controls, with Visual Basic you need to convert the MFC objects to an activex control. Unluckily, the class wizard doesn t cover all the messages and the events sent to an ActiveX control, and some messages are different, so most of the magic must be hand written. Because sometimes a piece of code is more clear than the article itself, I included the porting of CxShadeButton to an ActiveX control, but it s just an example, in the article I will speak about a generic AxButtonCtrl.
Because sometimes a piece of code is more clear than the article itself, I included the porting of CxShadeButton to an ActiveX control, but it s just an example, in the article I will speak about a generic AxButtonCtrl. -There are many owner-draw button written using C++ and the MFC classes. There a lso many ActiveX controls, mostly written in Visual Basic. While with C++ you can easily use both the MFC and the OCX controls, with Visual Basic you need to convert the MFC objects to an activex control. Unluckily, the class wizard doesn t cover all the messages and the events sent to an ActiveX control, and some messages are different, so most of the magic must be hand written. Because sometimes a piece of code is more clear than the article itself, I included the porting of CxShadeButton to an ActiveX control, but it s just an example, in the article I will speak about a generic AxButtonCtrl.
相关搜索: mfc
activex
mfc
activex
control
Button
control
activex
button
MFC
ocx
draw
ocx
ocx
MAGIC
button
ocx
activex
mfc
activex
control
Button
control
activex
button
MFC
ocx
draw
ocx
ocx
MAGIC
button
ocx
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AxShadeButton.clw
AxShadeButton.cpp
AxShadeButton.def
AxShadeButton.dsp
AxShadeButton.dsw
AxShadeButton.h
AxShadeButton.odl
AxShadeButton.rc
AxShadeButtonCtl.bmp
AxShadeButtonCtl.cpp
AxShadeButtonCtl.h
AxShadeButtonPpg.cpp
AxShadeButtonPpg.h
CxShadeButton.htm
resource.h
StdAfx.cpp
StdAfx.h
vb
..\AxShadeButton.ocx
..\Form1.frm
..\Project1.exe
..\Project1.vbp
..\Project1.vbw
..\rc.bat
..\Script1.rc
..\script1.RES
xShadeButton.cpp
xShadeButton.h
AxShadeButton.cpp
AxShadeButton.def
AxShadeButton.dsp
AxShadeButton.dsw
AxShadeButton.h
AxShadeButton.odl
AxShadeButton.rc
AxShadeButtonCtl.bmp
AxShadeButtonCtl.cpp
AxShadeButtonCtl.h
AxShadeButtonPpg.cpp
AxShadeButtonPpg.h
CxShadeButton.htm
resource.h
StdAfx.cpp
StdAfx.h
vb
..\AxShadeButton.ocx
..\Form1.frm
..\Project1.exe
..\Project1.vbp
..\Project1.vbw
..\rc.bat
..\Script1.rc
..\script1.RES
xShadeButton.cpp
xShadeButton.h