changing dialog box in the middle

This is a discussion on changing dialog box in the middle within the Windows Programming forums, part of the Platform Specific Boards category; After I've created a dialog box with all it's controls, I would like to change it's entire structure. Like resizing ...

  1. #1
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768

    changing dialog box in the middle

    After I've created a dialog box with all it's controls, I would like to change it's entire structure. Like resizing the dialog window, add and remove controls. How can such thing be done without using any classes.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  2. #2
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    >> Like resizing the dialog window

    SetWindowPos()

    >> add and remove controls

    DestroyWindow()
    CreateWindowEx()

  3. #3
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    that simple?!

    thank you.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 02-13-2008, 01:59 PM
  2. Parent of a BrowseForFolder dialog box
    By @nthony in forum Windows Programming
    Replies: 4
    Last Post: 01-08-2007, 01:54 PM
  3. Changing color of a pushbutton in a dialog box
    By rangalo in forum Windows Programming
    Replies: 1
    Last Post: 06-20-2005, 10:53 AM
  4. New Theme
    By XSquared in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 04-01-2004, 07:00 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21