Re: Function to Draw Controls from a different dialog box template
Quote:
Originally Posted by
ADSOFT
Well what I wanted was a function to use a dialog template to utilize it's componts. The answer is
Code:
myDialog.Create(IDD_MyDialog);
After creating myDialog in classwizard from IDD_MyDialog
I took alot of time to write the title of my question.
It's an open forum, and if it took 29 responses to get the answer of my question, it wasn't a waste of time.
I didn't expect you to see things from a different point of view.
Re: Function to Draw Controls from a different dialog box template
Re: Function to Draw Controls from a different dialog box template
Quote:
Originally Posted by
ovidiucucu
It's not very clear what exactly you want to accomplish, so please clarfy the points below:
- you want a property sheet which is is in wizard mode or not?
- you want a property sheet which is child or is owned by a (form) view?
- what exactly this mean?
To see the difference between
child and
owned, take a look at these FAQs:
Anyhow, the initial idea of using a tab control to switch between viwes or to show/hide different sets of controls is not so good.
Using the property sheet is easier and more elegant.
Btw, Thanks.
This post was very helpfull