comctl32: trackbar: create tooltip window with WS_POPUP style
Oleg Krylov
oleg.krylov at gmail.com
Wed Oct 25 05:26:45 CDT 2006
Prevent tooltips from stealing focus from parent window by crating them
with WS_POPUP style.
Changelog:
- Create tooltip window with WS_POPUP style
Author: Oleg Krylov
License: LGPL
-------------- next part --------------
>From 79c389fa8cc725b79713adb355dea566b9651328 Mon Sep 17 00:00:00 2001
From: Oleg Krylov <oleg.krylov at gmail.com>
Date: Wed, 25 Oct 2006 12:29:22 +0300
Subject: comctrl32: trackbar: create tooltip window with WS_POPUP style
---
dlls/comctl32/trackbar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/trackbar.c b/dlls/comctl32/trackbar.c
index 765a9ff..b61e64d 100644
--- a/dlls/comctl32/trackbar.c
+++ b/dlls/comctl32/trackbar.c
@@ -1415,7 +1415,7 @@ TRACKBAR_Create (HWND hwnd, LPCREATESTRU
if (dwStyle & TBS_TOOLTIPS) {
infoPtr->hwndToolTip =
- CreateWindowExW (0, TOOLTIPS_CLASSW, NULL, 0,
+ CreateWindowExW (0, TOOLTIPS_CLASSW, NULL, WS_POPUP,
CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT, CW_USEDEFAULT,
hwnd, 0, 0, 0);
--
1.4.2.3
More information about the wine-patches
mailing list