Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 220
  • Last Modified:

Propertysheet and ActiveX

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
winniet
Asked:
winniet
1 Solution
 
eburleyCommented:
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
 
winnietAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now