Solved

Gain access to ActiveX from its property page

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to gracefully close the c++ 11 thread? 3 160
computer science syllabus 3 118
C++ mouse_event mouse look 7 136
Why isn't object file created? 6 109
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

752 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