Commit Graph

122 Commits

Author SHA1 Message Date
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
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Andrew Talbot 13cd63af43 comctl32: Constify some variables. 2007-04-03 11:21:45 +02:00
Andrew Talbot 74ab88ca97 comctl32: Replace inline static with static inline. 2007-03-17 20:03:19 +01:00
Alexandre Julliard 10c3a4db67 comctl32: Remove invalid NULL check. 2006-11-21 12:40:39 +01:00
Alexandre Julliard 7cca856315 comctl32: Properly handle negative coordinates for mouse events. 2006-10-25 17:41:48 +02:00
Alexandre Julliard 9d6d54f5e6 comctl32: Position the tooltip window correctly on multi-monitor setups. 2006-10-23 14:38:11 +02:00
Michael Ploujnikov 1c16d83379 comctl32: Win64 printf format warning fixes. 2006-10-14 20:17:06 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Rein Klazes 8b55e4a662 comctl32: Do not free LPSTR_TEXTCALLBACK tooltip texts. 2006-03-23 17:07:17 +01:00
Dmitry Timoshkov f15abf08ac comctl32: Add a test for the initial tooltip window style settings,
make it pass under Wine.
2005-12-19 17:43:10 +01:00
Francois Gouget 6d442aeb34 Assorted spelling fixes. 2005-11-23 20:14:43 +01:00
Michael Kaufmann e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Frank Richter 9e57091ffa Fix warnings in 64bit. 2005-08-30 10:07:17 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Dimitrie O. Paun 67607f9e4c Complete unicodification of the tooltips common control. 2005-03-23 10:24:20 +00:00
Eric Pouech cf1d00bb08 Removed excessive statement (break after return or goto, not useful
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Filip Navara 0e6c60076f - Don't use DrawEdge with NULL device context, it's invalid call and
sets last error.
- Tooltip icons must be destroyed with DestroyIcon and not with
  DeleteObject.
- Rebar cursors must be destroyed with DestroyCursor and not with
  DeleteObject.
2004-12-07 14:27:43 +00:00
Robert Shearman acfd725df4 - Don't leak memory when an app sends TTM_SETTITLE twice.
- An lParam of 0 indicates that the title should be removed.
2004-10-25 21:44:50 +00:00
Ge van Geldorp 109f41aadc Pass correct uiParam for SPI_GETNONCLIENTMETRICS. 2004-10-19 21:09:42 +00:00
Robert Shearman f0509667e9 Use Unicode window messages. 2004-09-17 18:10:13 +00:00