Solved

Gain access to ActiveX from its property page

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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 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.

746 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

8 Experts available now in Live!

Get 1:1 Help Now