Solved

Gain access to ActiveX from its property page

Posted on 2003-12-04
3
271 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

623 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