Thread: GUI and dialog

  1. #1
    Unregistered
    Guest

    Thumbs up GUI and dialog

    Anyone knows how to create a dialog-based application that can plenty views. In the main UI, when a button is selected, a view corresponding to this click is displayed, instead of displaying another dialog. So that all dialogs are switched back and forth.

    any input is a big help... thank you.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Not too sure what you are trying to achieve....


    If you want a display that allows multiple views in one window, then try a Tab Control. This is a type of common control.

    Lookup WC_TABCONTROL on MSDN

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>> Not too sure what you are trying to achieve....

    Me neither, but you could build a series of child windows displaying whatever it is you want in whatever format you want but have them disabled, and then enable whichever is appropriate in the button message handler.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Refreshing a seperate Dialog
    By LowlyIntern in forum C++ Programming
    Replies: 5
    Last Post: 06-26-2009, 10:49 AM
  2. GUI Scripting
    By QuestionC in forum Tech Board
    Replies: 5
    Last Post: 08-21-2007, 08:31 AM
  3. Using C++ for GUI with Database Application
    By bugmenot in forum Windows Programming
    Replies: 7
    Last Post: 12-14-2005, 08:24 PM
  4. Splitting a dialog up into multiple classes
    By Just in forum Windows Programming
    Replies: 1
    Last Post: 05-29-2005, 11:11 PM
  5. GUI button
    By sammacs in forum C++ Programming
    Replies: 5
    Last Post: 01-18-2005, 10:53 AM