Commit Graph

148 Commits

Author SHA1 Message Date
Nikolay Sivov 5e7e3cbda6 comctl32/tooltip: Compare to special callback pointer value directly.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-30 19:59:12 +02:00
Roman Pišl 4803b7abc9 comctl32/tooltips: Set window size before TTN_SHOW and preserve it after.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 17:24:37 +01:00
Nikolay Sivov db2a3b7028 comctl32: Use ARRAY_SIZE() macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:16:27 +01:00
Nikolay Sivov c586b759a9 comctl32/tooltips: Fix structure size check for TTM_ADDTOOLW.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 15:51:37 +01:00
Nikolay Sivov c98bed32d8 comctl32/tooltips: Reset window subclass data when removing tools.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-21 10:41:10 +01:00
Nikolay Sivov b68dbf4ea1 comctl32/tooltips: Remove window subclass right before window is destroyed.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-20 17:48:45 +01:00
Nikolay Sivov 62daeec1e2 comctl32/tooltips: Calm down trace messages.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-11 18:43:49 +02:00
Nikolay Sivov 6bbea5d074 comctl32/tooltips: Set current tool before sending TTN_NEEDTEXT.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-11 18:43:45 +02:00
Nikolay Sivov 5312cc6dc2 comctl32/tooltips: Return full toolinfo from TTM_GETCURRENTTOOL.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-11 18:43:41 +02:00
Hadrien Boizard 891540436f comctl32: Use wine_dbgstr_point in TRACES.
Signed-off-by: Hadrien Boizard <h.boizard@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 16:30:41 +01:00
Nikolay Sivov 9618aae324 comctl32/tooltips: Fix TTM_GETMARGIN/TTM_SETMARGIN handling.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-22 21:30:45 +09:00
Nikolay Sivov 75059e9ee1 comctl32/tooltips: Cut tooltip text at first tab char unless TTS_NOPREFIX is used.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:27 +09:00
Aric Stewart aba3b131bc comctl32: TTM_SETTOOLINFO does not change subclassing flags. 2015-04-27 19:33:28 +09:00
Nikolay Sivov 9d0ebc13ac comctl32/tooltips: Allow NULL hinst value when fetching text from resources. 2015-03-24 14:07:17 +09:00
Bruno Jesus a54c187886 comctl32: Remove dead assignment in tooltips.c (Cppcheck). 2014-10-31 13:14:52 +09:00
Francois Gouget 542652deab comctl32: TTM_ADDTOOLW must refuse to set a tooltip text to NULL. 2013-12-02 10:47:24 +01:00
Piotr Caban 26c751ea29 comctl32: Ignore tooltip position passed in TTM_TRACKPOSITION if TTF_TRACK flag is not set. 2013-10-15 16:36:12 +02:00
Dmitry Timoshkov 7b3305169c comctl32: Test appropriate tool window for active state.
There is no point in testing owner of the tooltip itself since it's often
created as a popup of the desktop window.
2013-02-05 10:53:42 +01:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Akihiro Sagawa 8cedea0d60 comctl32: Truncate the info tip text when using ANSI version messages. 2012-04-16 11:50:00 +02:00
Akihiro Sagawa b48f394e4f comctl32: Add support for retrieving lpszText in TOOLINFO structure. 2012-04-12 21:27:45 +02:00
Andrew Talbot dd5a1913ae comctl32: Fix a logical operator typo. 2011-08-29 12:08:19 +02:00
Marcus Meissner 2cd225b793 comctl32: Removed array NULL check (Coverity). 2011-03-15 17:14:07 +01:00
Gerald Pfeifer 38ce67a462 comctl32: Shed unused parameter from TOOLTIPS_NCCreate. 2011-01-03 11:29:30 +01:00
Alexandre Julliard 84a86d4897 comctl32: Fix positioning of tracking tooltips at the bottom of the screen. 2010-12-13 16:24:49 +01:00
Gerald Pfeifer 7312981cf5 comctl32: Remove the last, unused parameter fromTOOLTIPS_NewToolRectT. 2010-11-05 11:28:23 +01:00
Gerald Pfeifer d25d667627 comctl32: Remove TOOLTIPS_WindowFromPoint, putting its functionality into its sole calling site. 2010-11-01 11:44:43 +01:00
Gerald Pfeifer 9724a432e9 comctl32: Remove unused parameter lpcs from TOOLTIPS_Create. 2010-09-20 13:48:12 +02:00
Mikhail Maroukhine bd6f218165 comctl32: Fix compiler warnings with flag -Wcast-qual. 2010-03-26 10:32:33 +01:00
Michael Stefaniuc 9dd502a332 comctl32: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:14 +01:00
Nikolay Sivov f84a6bdf3a comctl32/tooltips: Remove unneeded helper parameter. 2009-10-15 14:16:05 +02:00
Nikolay Sivov 38c0d421ec comctl32/tooltips: Remove redundant code, let handlers deal with A<->W conversions. 2009-10-15 14:15:35 +02:00
Nikolay Sivov f394bed597 comctl32/tooltips: Test the way structure size field is validated. 2009-10-15 14:10:59 +02:00
Nikolay Sivov 98a7d8cf9d comctl32/tooltips: Fix an obviously wrong structure size check. 2009-10-15 14:10:32 +02:00
Andrew Talbot 9064506f76 comctl32: Constify some variables. 2009-06-09 17:01:14 +02:00
Nikolay Sivov 7d32cfef27 comctl32/tooltips: Fix callback tip text retrieval. 2009-05-28 12:42:18 +02:00
Nikolay Sivov 7fd17023be comctl32/tooltips: Move parameter cast to WinProc. 2009-05-28 12:42:18 +02:00
Nikolay Sivov 7434b8002c comctl32/toolbar: Retrieve Tooltips control data once at WinProc. 2009-05-25 11:38:00 +02:00
Nikolay Sivov 8f5a1ae8c9 comctl32/tooltips: Use cached colors for ToolTips. 2009-05-19 15:41:57 +02:00
Gerald Pfeifer 91df8fd59c comctl32: Simplify fifteen tooltips function invocations. 2009-02-16 16:01:37 +01:00
Michael Stefaniuc da6d7920de comctl32: Remove superfluous pointer casts. 2009-02-13 13:00:25 +01:00
Michael Stefaniuc b723e6f6b6 comctl32: Remove the superfluous casting of the LPVOID returned by Alloc(). 2008-10-24 14:24:59 +02:00
Will Tipton accb5f8faf comctl32: Added input validation to TOOLTIPS_GetTextW() in order to handle gracefully the case where it is called with an empty tooltip. 2008-08-18 17:15:56 +02:00
Mikołaj Zalewski 60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +02:00
Andrew Talbot b7cc9c66b3 comctl32: Remove unneeded address-of operators from array names. 2008-07-08 10:47:43 +02:00
Gerald Pfeifer bc588e6a37 comctl32: tooltips: Adjust the type of three loop variables from INT to UINT. 2008-06-23 12:47:23 +02:00
Jason Edmeades f54570fdbd comctl32: Add basic custom draw support for tooltips. 2008-04-03 11:39:52 +02:00
Alexandre Julliard e85f7ed79e comctl32: Tooltips should be top-most windows. 2008-01-23 21:42:33 +01:00
Andrew Talbot 863ffb719b comctl32: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Andrew Talbot 1bf787d521 comctl32: Remove unneeded casts. 2007-12-03 13:10:21 +01:00