ActiveX Control wrapper classes derived from CWnd and LPDISPATCH
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hello. Dunno that MFC or COM question. How to construct or attach to ActiveX Control wrapper class, derived from CWnd, already exist COM object exposed LPDISPATCH. -- modified at 15:22 Tuesday 28th March, 2006
You can try CWnd::GetControlUnknown() from the control container or CCmdTarget::GetControllingUnknown() inside an ActiveX control's source(an undocumented function and may not function in future versions of MFC) My blogs: http://blog.joycode.com/jiangsheng http://blog.csdn.net/jiangsheng http://bloglines.com/public/jiangsheng Command what is yours Conquer what is not ---Kane