Solved

Propertysheet and ActiveX

Posted on 1998-09-23
2
213 Views
Last Modified: 2013-11-19
Hi,

If you have any idea about this, even just some comment, please, please tell
me....

I need to know if it's possible, to have an Active Control (ocx), which will
present a property sheet, and in the property sheet, each property page is
provided by other ActiveX control(ocx). If is's confusing, then, maybe this way,
I have several ActiveX controls (ocx), and each of them handles different
functions, but one thing is common, that there is a function of them can pop up
a property page dialog box. The question is, is there any way that I can develop
another control, to import ( by some way) those control, and intergrate all the
property pages, into a property sheet dialog box? If there is a way, where
should I start? I am really really new to this.....

Any comment will be highly appreciated!

Thank you!
0
Comment
Question by:winniet
2 Comments
 
LVL 1

Accepted Solution

by:
eburley earned 200 total points
ID: 1322532
I don't know which technology your using to develop these controls, but if it's atl, I believe you just add PROP_ENTRYs for the property page.  Property pages are seperate controls in atl, although they usually reside in the same package (exe/dll/ocx).  the COM spec includes information on IPropertyPage, and your control can implement the ISpecifyPropertyPages, which returns an array of CLSIDs corresponding to your pages, these CLSIDs need not be in the same module.
0
 

Author Comment

by:winniet
ID: 1322533
Thank you for your response. I am not quite sure I totally understand your suggestion, or maybe I confused you, the other controls actually provide a property-page like dialog box for some other purpose, for example, for some application's property editing. So, bacially those controls are indepent to each other. But I need to have another control to force the other controls to show their property-page-like dialog box into one property-sheet-like dialog box to set up several things in one time. And this control can't access the other controls members/functions except the automation parts. Is that still possible to do so? I will really appreciate it if I can get some example code.

Thank you!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

825 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