Thread: dialogbox as subwindow

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    10

    Question dialogbox as subwindow

    Hi, Everyone,

    I am designing an applicatin whose appearance may be same with MSVC. Now I want to make a Dialogbox as a subwindow(just like the "workspace" subwindow), but I have no idea about what I should do. And also i don't want to use MFC. Can you give me some help?

    Thanks.

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    Subwindow... subwindowsubwindowsubwindowsubwindow... subwindow...?

    Any chance you might work on your terminology there bub?
    Do you mean an MDI child window?

  3. #3
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    I believe that he wants to use dialog boxes defined in a resource file to make an MDI.

    edit: See this thread: http://cboard.cprogramming.com/showt...+window+dialog
    Last edited by confuted; 07-11-2005 at 01:23 PM.
    Away.

  4. #4
    Registered User
    Join Date
    Jun 2005
    Posts
    10
    Sorry for my awful expression.

    I mean i want a dialogbox dock or undock in my SDI/MDI window, just like the "workspace" window in MSVC.

  5. #5
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Look at the 'bar' controls

    toolbar,
    rebar or coolbar
    dialogbar


    MFC base class is the CControlBar

    >>And also i don't want to use MFC.

    Pity. That means that you will have to find third party code or write most of your own. (as opposed to just adding using the resource editor)

    Is there a reason not to use MFC? (apart from 'I don't like M$')
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  6. #6
    Registered User
    Join Date
    Jun 2005
    Posts
    10
    Hehe, it may be my prejudice... because i always think MFC is made so complex.

    now i know it also has many excellences... ok, i will use it.

    thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DialogBox Argument Invalid?
    By execute in forum Windows Programming
    Replies: 4
    Last Post: 04-25-2006, 01:56 PM
  2. Adding a Menu to a Dialogbox?
    By TCM in forum Windows Programming
    Replies: 2
    Last Post: 08-24-2004, 02:12 PM
  3. DialogBox and BITMAPS
    By ventolin in forum Windows Programming
    Replies: 3
    Last Post: 07-27-2004, 01:58 PM
  4. Proper way to end a dialogbox.
    By spoon_ in forum Windows Programming
    Replies: 2
    Last Post: 01-06-2003, 05:47 PM
  5. Create a window from a dialogbox ?
    By peter in forum Windows Programming
    Replies: 7
    Last Post: 09-09-2001, 07:42 AM