mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-05-06 21:27:03 +02:00
Merge branch 'develop' into feature-position
This commit is contained in:
@@ -413,6 +413,13 @@ void WindowCtrlWin::normalizeWindow( quint64 window )
|
||||
return;
|
||||
}
|
||||
|
||||
long style = GetWindowLong( (HWND)window, GWL_STYLE );
|
||||
|
||||
style &= ~(WS_EX_TOOLWINDOW);
|
||||
style |= WS_EX_APPWINDOW;
|
||||
|
||||
SetWindowLong( (HWND)window, GWL_STYLE, style );
|
||||
|
||||
ShowWindow( (HWND)window, SW_RESTORE );
|
||||
SetForegroundWindow( (HWND)window );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user