[Debugger] ShowWindow(): Restore window if minimized
This commit is contained in:
parent
e163ecd2f8
commit
798e19b2a6
|
@ -72,6 +72,9 @@ public:
|
||||||
}
|
}
|
||||||
if (m_hWnd)
|
if (m_hWnd)
|
||||||
{
|
{
|
||||||
|
if (::IsIconic((HWND)m_hWnd)) {
|
||||||
|
SendMessage(m_hWnd, WM_SYSCOMMAND, SC_RESTORE, NULL);
|
||||||
|
}
|
||||||
SetForegroundWindow((HWND)m_hWnd);
|
SetForegroundWindow((HWND)m_hWnd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue