comctl32: tab: create tooltip window with WS_POPUP style
Oleg Krylov
oleg.krylov at gmail.com
Wed Oct 25 05:25:58 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 34c5923dc30473c2523de2ab100a22db00a76241 Mon Sep 17 00:00:00 2001
From: Oleg Krylov <oleg.krylov at gmail.com>
Date: Wed, 25 Oct 2006 12:28:02 +0300
Subject: comctrl32: tab: create tooltip window with WS_POPUP style
---
dlls/comctl32/tab.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c
index 31c8d9d..09c0f71 100644
--- a/dlls/comctl32/tab.c
+++ b/dlls/comctl32/tab.c
@@ -3038,7 +3038,7 @@ static LRESULT TAB_Create (HWND hwnd, WP
if (dwStyle & TCS_TOOLTIPS) {
/* Create tooltip control */
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