|
-
January 25th, 2005, 03:32 PM
#1
Can I reparent an ActiveX control?
Is it possible to reparent an ActiveX control? I've tried calling SetParent(), but when it is time to access a method of this reparented ActiveX control, I receive:
"ASSERT(m_pCtrlSite != NULL); // not an OLE control (not yet, at least) "
I'm trying to reparent the control from an ActiveX control to a simple CDialog derivative.
The ActiveX control is a third party control; I'm using their CWnd wrapper class to create instances of this control in my code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|