Re: Linking 2 dialog boxes?
Do it as a setup wizard....An activex component is present for this...
Re: Linking 2 dialog boxes?
Re: Linking 2 dialog boxes?
Thank you guys. I've looked at it but it seems that property sheets have tabs, which I don't want. And the wizard is too simple. My interface has 2 buttons, each one brings me to a different dialog. There is also a back button to press to go back to the previous dialog. Sorry if I didn't make it clear before. Anyone have any ideas pls? I don't know where to look anymore..
Re: Linking 2 dialog boxes?
Can't you Create a property sheet in wizard mode? This will have Sheets "not" in the form of tabs but in the form of a wizard using back next and finish buttons.
Links given by Laitinen (4th Link) explains that more clearly.
Call SetWizardMode() for your property sheet.
Re: Linking 2 dialog boxes?
Hi. Yes wizard isn't tabbed, but it only has next, back and finish buttons. If I have two or three or ten buttons on one dialog, and pressing each button goes to a different dialog, I can't really do that with a wizard can I? I guess my big problem is making a button link to a different dialog, ie pressing a button will make the current dialog disappear and a new one appear. Is there an easier way or piece of code to make it happen? I hope I don't have to change the visible settings and etc...Sorry if I sound confused. =(
Re: Linking 2 dialog boxes?
You can use the DoModal() function.
In your example double click on the button, make an object of the class "Dialog2".
and then call the function DoModal().
e.g.
Dialog2 temp;
temp.DoModal();
Hope that will work for you.
Re: Linking 2 dialog boxes?
Quote:
Originally Posted by
rimmy
...
Hope that will work for you.
I disagree...
1. You didn't read the thread carefully enough or you don't understand the problem at all. :thumbd:
2. I guess OP had solved his problem more than three years ago. :cool: