Fix INP in OSAI
This commit is contained in:
@@ -1009,6 +1009,13 @@ namespace Active_Client.View
|
||||
//Read the actual ID of the Process
|
||||
GetWindowThreadProcessId(hwnd, out ActualPID);
|
||||
|
||||
//Delete the TOPMOST Style of the Window
|
||||
if (NcProcessPID != 0 && ActualPID == NcProcessPID)
|
||||
{
|
||||
if (state == NcState.SHOW)
|
||||
SetWindowPos(hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE);
|
||||
}
|
||||
|
||||
//If the PID is the STEP-HMI Process
|
||||
if (ActualPID == MainProcessPID)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user