Solved

Gain access to ActiveX from its property page

Posted on 2003-12-04
3
240 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now