OSDN Git Service

Place the tooltip of the tracer window topmost
authorStarg <starg@users.osdn.me>
Thu, 12 Aug 2021 12:04:15 +0000 (21:04 +0900)
committerStarg <starg@users.osdn.me>
Thu, 12 Aug 2021 12:04:15 +0000 (21:04 +0900)
interface/w32g_subwin3.c

index 5890d53..a240c81 100644 (file)
@@ -2513,6 +2513,8 @@ TracerCanvasWndProc(HWND hwnd, UINT uMess, WPARAM wParam, LPARAM lParam)
                                        NULL
                                );
 
+                               SetWindowPos(w32g_tracer_wnd.hTool, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
+
                                TTTOOLINFO ti = {0};
                                ti.cbSize = sizeof(ti);
                                ti.uFlags = TTF_SUBCLASS;