Multiple "pages"

This is a discussion on Multiple "pages" within the Windows Programming forums, part of the Platform Specific Boards category; What is a recommended way to create a program which consists of more than one "page"? For example, the first ...

Multiple "pages"

What is a recommended way to create a program which consists of more than one "page"? For example, the first page contains fields where you can input your name and address. When you click a button you go to the second page, which contains fields for other information. I guess one way to do it is to use ShowWindow to show or hide certain child controls, but this seems a little inefficient to me.