mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 23:42:16 +00:00
back/win32: When ordering out a window, use the SWP_NOACTIVATE flag on SetWindowPos
so Windows doesn't activate/deactivate any windows when hiding a window. This fixes the bug where when a tooltip disappeared, it would deactivate the window the tooltip was over. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@31024 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a27ce98ff1
commit
f336cf20af
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2010-07-06 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/win32/WIN32Server.m:
|
||||
When ordering out a window, use the SWP_NOACTIVATE flag on SetWindowPos
|
||||
so Windows doesn't activate/deactivate any windows when hiding a window.
|
||||
|
||||
This fixes the bug where when a tooltip disappeared, it would deactivate
|
||||
the window the tooltip was over.
|
||||
|
||||
2010-07-06 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/win32/WIN32Server.m:
|
||||
|
|
|
@ -1046,7 +1046,7 @@ LRESULT CALLBACK MainWndProc(HWND hwnd, UINT uMsg,
|
|||
{
|
||||
SetWindowLong((HWND)winNum, OFF_ORDERED, 0);
|
||||
SetWindowPos((HWND)winNum, NULL, 0, 0, 0, 0,
|
||||
SWP_HIDEWINDOW | SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER);
|
||||
SWP_HIDEWINDOW | SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue