[RSP] Restore window if minimized when invoked from the context menu
Similar fix to 798e19b2a6
This commit is contained in:
parent
ad31492585
commit
fff7bb5793
|
@ -98,6 +98,9 @@ void Create_RSP_Commands_Window ( int Child )
|
|||
}
|
||||
else
|
||||
{
|
||||
if (IsIconic((HWND)RSPCommandshWnd)) {
|
||||
SendMessage(RSPCommandshWnd, WM_SYSCOMMAND, SC_RESTORE, NULL);
|
||||
}
|
||||
SetForegroundWindow(RSPCommandshWnd);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -85,6 +85,9 @@ void Create_RSP_Register_Window ( int Child ) {
|
|||
CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)Create_RSP_Register_Window,
|
||||
(LPVOID)TRUE,0, &ThreadID);
|
||||
} else {
|
||||
if (IsIconic((HWND)RSP_Registers_hDlg)) {
|
||||
SendMessage(RSP_Registers_hDlg, WM_SYSCOMMAND, SC_RESTORE, NULL);
|
||||
}
|
||||
SetForegroundWindow(RSP_Registers_hDlg);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue