mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
fixed tooltips not being topmost
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4306 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -5313,14 +5313,26 @@ BOOLEAN PhTnpPrepareTooltipShow(
|
||||
}
|
||||
|
||||
if (!Context->TooltipUnfolding)
|
||||
{
|
||||
SetWindowPos(
|
||||
Context->TooltipsHandle,
|
||||
HWND_TOPMOST,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE | SWP_HIDEWINDOW
|
||||
);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
rect = Context->TooltipRect;
|
||||
SendMessage(Context->TooltipsHandle, TTM_ADJUSTRECT, TRUE, (LPARAM)&rect);
|
||||
MapWindowPoints(Context->Handle, NULL, (POINT *)&rect, 2);
|
||||
SetWindowPos(
|
||||
Context->TooltipsHandle,
|
||||
HWND_TOP,
|
||||
HWND_TOPMOST,
|
||||
rect.left,
|
||||
rect.top,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user