Gain access to ActiveX from its property page
Posted on 2003-12-04
I have an ActiveX control with several properties.
I made a property page for it to set the properties.
But instead of using common way for setting properties (DDX and DDP) one control by properties.
I display a grid in which some properties appears odered as I want and display as I want.
Now using this method, I need, when the data of the grid are validated, to use directly the control and set its properties directly.
So the question is from the property page, how can I access to its owner control.
I have looked in MSDN and find something (function GetControlClass() ) but was unable to make it work.
I see the turnaround done in the page of GetControlClass and don't succeed to make it work.
Can anyone help me?
Thanks in advance!