Dialog on top of dialog

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Dialog on top of dialog

      I have an application that has a full screen window that launches a full screen dialog, when another dialog is launched it is not drawn on top of the first dialog, have to close first dialog to see it. I want it on top, what to do ??. Tried setting WM_CF_STAYONTOP and WM_CF_FGND flags but still drawn behind first dialog. Only way i have been able to get it draw above first dialog is to set parent handle to first dialog, but I don't want that, as 2nd dialog will close when 1st dialog is closed.