| This tip was submitted by Pete Holm. I
have a tip about creating wizards. I was struggling with creating them when I read how the
MFC wizards are created. I create a tab control in a window. Put the tabs on the bottom of
the control. Move the tab control into the top left corner. I add all the pages I need and
set up buttons (Next, Back, Finish) to take me to the next page in the sequence. I then
resize the window so that the tabs do not show. The user has no choice but to use the
buttons. This has some nice behavior. It is also quite easy to create instance variables
in the parent window to transfer data from one tab page to another. The other nice thing
is that the designer can have all the faces of the wizard in one place. |