Solved

Gain access to ActiveX from its property page

Posted on 2003-12-04
3
259 Views
Last Modified: 2010-04-02
Hi,

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!
0
Comment
Question by:FMayis
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 250 total points
ID: 9876204
You are probably talking about http://support.microsoft.com/default.aspx?scid=kb;EN-US;143432 - hat difficulties are you encountering? Have you also seen http://support.microsoft.com/default.aspx?scid=kb;EN-US;205670 ("HOWTO: Get Access to an ActiveX Control from its Property Page")
0
 

Author Comment

by:FMayis
ID: 9876361
It works Yiiiiiiiiiiiiiiiiiiiipppppppppppppppppppppppeeeeeeeeeeeeeeeeeeee!!!!!!!!!!!!!!!!!!!!!

THANK YOU!!!!!

They must do it much more complicated ;-))

I have MSDN but an old one and the contents of the page are not the same!!


Thanks again
0
 
LVL 86

Expert Comment

by:jkr
ID: 9876371
You're welcome :o)
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question