[Debugger] ShowWindow(): Restore window if minimized

This commit is contained in:
oddMLan 2019-01-10 21:05:21 -07:00
parent e163ecd2f8
commit 798e19b2a6
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ public:
}
if (m_hWnd)
{
if (::IsIconic((HWND)m_hWnd)) {
SendMessage(m_hWnd, WM_SYSCOMMAND, SC_RESTORE, NULL);
}
SetForegroundWindow((HWND)m_hWnd);
}
}