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:
@@ -125,6 +125,10 @@ WXHWND wxToolTip::GetToolTipCtrl()
|
|||||||
NULL, (HMENU)NULL,
|
NULL, (HMENU)NULL,
|
||||||
wxGetInstance(),
|
wxGetInstance(),
|
||||||
NULL);
|
NULL);
|
||||||
|
if ( hwndTT )
|
||||||
|
SetWindowPos(hwndTT, HWND_TOPMOST,0, 0, 0, 0,
|
||||||
|
SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return (WXHWND)hwndTT;
|
return (WXHWND)hwndTT;
|
||||||
|
Reference in New Issue
Block a user