Reputation: 11
As I wrote in the title, all the pop-up messages are hidden behind of main window which I created it as a SDI(Single Document Interface) form and added Office 2007 style to it.
I tried to use ::MessageBox
instead of AfxMessageBox
and SetWindowPos
function to fix a z-order to bottom but it's not worked.
What should I do?
Upvotes: 1
Views: 580
Reputation: 19966
You most likely have a hidden top-level parent. Put a breakpoint inside CWinApp::DoMessageBox
and check which parent window your popup is assigned!
Upvotes: 1