]> git.saurik.com Git - wxWidgets.git/commitdiff
set tooltip to be TOPMOST
authorUnknown (MT) <nobody@localhost>
Fri, 17 Sep 1999 04:03:10 +0000 (04:03 +0000)
committerUnknown (MT) <nobody@localhost>
Fri, 17 Sep 1999 04:03:10 +0000 (04:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/tooltip.cpp

index b7106c38ad6a73fe812cbf6e5ec67c200bea5c56..4e589f1c36abe56b2e4abd7d3a09c88068644947 100644 (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;