child dialog vs popup?

Posted on 2005-04-19
Last Modified: 2013-11-20
what's the difference between a child dialog and a popup dialog?

I currently have a dialog set as 'popup' style, and when I minimize the main dialog the popup gets minimized too. I want to be able to leave the popup up even when the main dialog is minimized. How could I do this?

Question by:jade03
    LVL 14

    Expert Comment

    Child window is a window in which you can access( or can move) that window with in the window main region only

    whereas popup window is just a  window that popups on particular functionality. Example showing about dlg  in most of the applications
    LVL 14

    Accepted Solution

    for your other answer

    reference the same window as parent while creating the child window
    MyDlg* dlg=new MyDlg;
    dlg->ShowWindow (SW_SHOW);

    then you can see the child window will not be minimized while you minimize your main window

    LVL 3

    Expert Comment

    Hi there,

    A child dlg is like a control while popup dlg are normal Dialog Box , so that you can move it freely.
    Child Dlg will have a parent window and normally dont have any captiobn bar while normally the
    popup dlg will have the caption bar.

    The behaviour you are getting because you are using Modal Dlg Box:
    Create the ModeLess Dlg as suggested by Mr. Sudhakar.

    Author Comment


    in your example, which is the parent and which is the child?

    so are you suggesting that I change my style from popup to a child window?

    Author Comment

    disregard me previous comments...I understand it now...thanx! :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
    Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now