Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualBurnt_Fyr

Posted 06 September 2013 - 09:11 AM

tl,dr: What windowstyles/functions can i use to force a message box to display over directx render windows.

 

In my current project, I've got a main window, a tab control, a child window for the tab, and it has a child window with a directx swapchain bound to it.

hwndmain
-htab
-htabview1
--h3dview (has directx swapchain)


When the user wants to open a file, I check to see if one is open, and if so pop open a message box to ask if they would like to save the current file. This message box does not pop up over of the childwindow with the swapchain. It will appear if any other tab window is showing,however, eventually each tab will have 1 or more swapchains attached to it. If i press a key that the Messagebox responds to(such as escape or alt) then it is drawn correctly.


#1Burnt_Fyr

Posted 04 September 2013 - 01:08 PM

tl,dr: What windowstyles/functions can i use to force a message box to display over directx render windows.

 

In my current project, I've got a main window, a tab control, a child window for the tab, and a child window with a directx swapchain bound to it.

hwndmain
-htab
--htabview1
---h3dview (has directx swapchain)


When the user wants to open a file, I check to see if one is open, and if so pop open a message box to ask if they would like to save the current file. This message box does not pop up over of the childwindow with the swapchain. It will appear if any other tab window is showing,however, eventually each tab will have 1 or more swapchains attached to it. If i press a key that the Messagebox responds to(such as escape or alt) then it is drawn correctly.


PARTNERS