set tooltip to be TOPMOST

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Unknown (MT) 1999-09-17 04:03:10 +00:00
parent 77cd51c3de
commit 2819545569

View File

@ -125,6 +125,10 @@ WXHWND wxToolTip::GetToolTipCtrl()
NULL, (HMENU)NULL,
wxGetInstance(),
NULL);
if ( hwndTT )
SetWindowPos(hwndTT, HWND_TOPMOST,0, 0, 0, 0,
SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
}
return (WXHWND)hwndTT;