Thread: dialogs

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    380

    dialogs

    If I create a dialog in a resource editor can I later add more controls at runtime to it?
    Don't you dare hit me on the head, you know I'm not normal.
    A Stooge Site
    Green Frog Software

  2. #2
    Registered User
    Join Date
    Dec 2002
    Posts
    119
    Yes, use CreateWindow or CreateWindowEx - normally in your WM_INITDIALOG message handler.

    -Futura
    If you speak or are learning Spanish, check out this Spanish and English Dictionary, it is a handy online resource.
    What happens is not as important as how you react to what happens. -Thaddeus Golas

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by Codulation
    Yes, use CreateWindow or CreateWindowEx - normally in your WM_INITDIALOG message handler.

    -Futura
    You might want to try creating them with the resource editor, dont set them as visible and then make them visible when you want them

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    380
    OK, thanks I'll do that.
    Don't you dare hit me on the head, you know I'm not normal.
    A Stooge Site
    Green Frog Software

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ok..Tabbed dialogs...XP style
    By Joelito in forum Windows Programming
    Replies: 5
    Last Post: 05-14-2006, 02:36 PM
  2. I need to use dialogs as tabs?
    By BenPage in forum C++ Programming
    Replies: 1
    Last Post: 08-03-2005, 08:59 AM
  3. Modeless Dialogs in Multiple threads
    By MrGrieves in forum Windows Programming
    Replies: 0
    Last Post: 06-22-2004, 01:33 PM
  4. dialogs are easier, but what about the main window?
    By stallion in forum Windows Programming
    Replies: 4
    Last Post: 01-21-2003, 01:42 PM
  5. Common Dialogs
    By DominicTrix in forum Windows Programming
    Replies: 3
    Last Post: 12-23-2002, 05:40 AM