IE's download child dialog is displayed behind the topmost parent dialog


  • We're developing application that include topmost dialog. This topmost dialog is inherited from IE for displaying contents in html/xml format.

    The problem is, the child dialog (such as downloading dialog, open file dialog etc.) that was created by topmost parent dialog will be laid behind its parent. This problem can make our user confuse and annoy.

    Below image is 

    From our deeply debugging in ieframe.dll assembly found that, the default parent of IE's child dialog is NULL, so it's always display behind its parent.

    Is there any solution or suggestion to solve this problem? except to change dialog's z-order to lower topmost, because the topmost level is required.


    Thursday, September 20, 2012 4:51 AM


All replies

  • Since you are setting the parent dialog as topmost level, it will always front of other dialog, if you want the download dialog front of this dialog, you shouldn't set it as topmost level.


    Thursday, September 27, 2012 1:13 AM
  • Normally, even the parent dialog is topmost level. But it can own the system dialog e.g. open file dialog in case that I create it myself.

    but for this case, the download dialog is created by IEFrame.dll. It does not the take the hosted dialog as parent HWND.

    Thursday, September 27, 2012 12:04 PM