Click to See Complete Forum and Search --> : How can I create ActiveX controls dynamically?


Kyle Harrison
March 29th, 1999, 10:38 AM
I am trying to create ActiveX controls from within an application without using the wrapper classes. When I get hold of the Interface pointer for the control, how can I convert it into a CWnd pointer (as the wrapper classes do) to place the control on a dialog box.

Has anyone got any sample code which can do this?


Thanks.

Dieter Gollwitzer
March 30th, 1999, 05:44 AM
George Shepherd und Scot Wingo have described the protocol between a container (dialog) and an ActiveX-control in the Microsoft System Journal (March/April '99)