Description: The so-called callback virtual COM-based ActiveX control interface, and client communication, generally is the case, that is, within the project in the ActiveX idl file to define a virtual interface, the client program to define a virtual interface to implement a derived class callback function, the client program passes a pointer to a derived class object ActiveX controls within the control interface called the virtual function to stimulate the client program of the derived class corresponding callbacks.
File list (Check if you may need any files):
CallBackTest\DataX\DataX.aps
............\.....\DataX.cpp
............\.....\DataX.def
............\.....\DataX.h
............\.....\DataX.ico
............\.....\DataX.idl
............\.....\DataX.rc
............\.....\DataX.vcproj
............\.....\DataX.vcproj.CLEVER101.Administrator.user
............\.....\DataXCtrl.bmp
............\.....\DataXCtrl.cpp
............\.....\DataXCtrl.h
............\.....\DataXidl.h
............\.....\DataXPropPage.cpp
............\.....\DataXPropPage.h
............\.....\DataX_i.c
............\.....\DataX_p.c
............\.....\dlldata.c
............\.....\DrawView.cpp
............\.....\DrawView.h
............\.....\ReadMe.txt
............\.....\resource.h
............\.....\stdafx.cpp
............\.....\stdafx.h
............\.....\targetver.h
............\TestCallback\CDDataX.cpp
............\............\CDDataX.h
............\............\ClassView.cpp
............\............\ClassView.h
............\............\DrawBar.cpp
............\............\DrawBar.h
............\............\FileView.cpp
............\............\FileView.h
............\............\MainFrm.cpp
............\............\MainFrm.h
............\............\OutputWnd.cpp
............\............\OutputWnd.h
............\............\PropertiesWnd.cpp
............\............\PropertiesWnd.h
............\............\ReadMe.txt
............\............\res\classview.bmp
............\............\...\classview_hc.bmp
............\............\...\class_view.ico
............\............\...\class_view_hc.ico
............\............\...\explorer.bmp
............\............\...\explorer_hc.bmp
............\............\...\fileview.bmp
............\............\...\fileview_hc.bmp
............\............\...\file_view.ico
............\............\...\file_view_hc.ico
............\............\...\menuimages.bmp
............\............\...\menuimages_hc.bmp
............\............\...\output_wnd.ico
............\............\...\output_wnd_hc.ico
............\............\...\properties.bmp
............\............\...\properties_hc.bmp
............\............\...\properties_wnd.ico
............\............\...\properties_wnd_hc.ico
............\............\...\sort.bmp
............\............\...\sort_hc.bmp
............\............\...\TestCallback.ico
............\............\...\TestCallback.rc2
............\............\...\TestCallbackDoc.ico
............\............\...\Toolbar.bmp
............\............\...\Toolbar256.bmp
............\............\Resource.h
............\............\Sink.cpp
............\............\Sink.h
............\............\stdafx.cpp
............\............\stdafx.h
............\............\targetver.h
............\............\TestCallback.cpp
............\............\TestCallback.h
............\............\TestCallback.rc
............\............\TestCallback.vcproj
............\............\TestCallback.vcproj.CLEVER101.Administrator.user
............\............\TestCallbackDoc.cpp
............\............\TestCallbackDoc.h
............\............\TestCallbackView.cpp
............\............\TestCallbackView.h
............\............\UserImages.bmp
............\............\ViewTree.cpp
............\............\ViewTree.h
............\Vs2008Demo.sln
............\Vs2008Demo.suo
............\回调机制图.vsd
............\源码说吗.txt
............\TestCallback\res
............\DataX
............\TestCallback
CallBackTest