Commit graph

142 commits

Author SHA1 Message Date
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
Rob Shearman
c6525745f2 comctl32: Fix the tooltips behaviour when TTF_ABSOLUTE isn't specified.
This does not mean to use the current cursor position. Instead, it means
that the left hand edge of balloon tips doesn't have to be exactly the
co-ordinate passed in (i.e. the stem can be as vertical as possible) and
it means non-balloon tips can use smart placement.
2007-11-20 12:28:59 +01:00
Rob Shearman
5ff8e6d7e1 comctl32: Unify the implementation of TOOLTIPS_Show and TOOLTIPS_TrackShow to give tracked tooltips balloon support. 2007-11-20 12:28:59 +01:00
Jason Edmeades
2e72e102a6 comctl32: Fix tooltips uninitialized variables plus wrong positioning. 2007-08-15 10:41:52 +02:00
Jason Edmeades
ff826eb14a comctl32: Fix missing tooltips. 2007-08-14 12:29:36 +02:00
Mikołaj Zalewski
f53e314180 comctl32: tooltips: Remove broken support for non-NULL-terminated strings in TOOLTIPS_GetDispInfo[AW]. 2007-07-20 11:36:59 +02:00
Michael Stefaniuc
585f863c24 comctl32: Do not use wide character constants. 2007-06-22 12:18:59 +02:00