Commit Graph

57 Commits

Author SHA1 Message Date
Nikolay Sivov 1141a7df28 comctl32/syslink: Use wide string literals.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-01 22:03:16 +02:00
Fabian Maurer 04f75040ec comctl32/syslink: Properly handle '\r'.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46421
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-03 12:18:31 +02:00
Francois Gouget e0e119e41f comctl32: Typo and spelling fixes in comments.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-02 20:46:44 +02:00
Alexandre Julliard e4e2e8e551 comctl32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:38:38 +02: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 7625a1bb72 comctl32: Remove confusing comments.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-09 09:19:48 +01:00
Nikolay Sivov 57dec76778 comctl32/syslink: Fix return value for LM_GETIDEALSIZE.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 10:20:46 +01:00
Nikolay Sivov a0e73a1fb3 comctl32/syslink: Don't use exported StrCmpNIW().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-27 20:29:40 +01:00
Nikolay Sivov 986306cddb comctl32/syslink: Use wine list to keep items.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-21 00:53:51 +09:00
Sebastian Lackner f4640b0492 comctl32/syslink: Fix a blocks leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-21 00:53:50 +09:00
Michael Stefaniuc 903ea19122 comctl32: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:23:36 +09:00
Nikolay Sivov e0c421ff62 comctl32/syslink: Simplify conditional expression (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:34 +09:00
Sebastian Lackner e2c0694901 comctl32: Fix incorrect usage of CompareString in SYSLINK_ParseText. 2014-11-18 22:10:51 +09:00
Alexandre Julliard e0cc9a798b comctl32/syslink: Fix painting of background color for transparent controls. 2012-01-12 12:20:46 +01:00
Alexandre Julliard 682b03731c comctl32: Fix text wrapping in syslink when an item starts in the middle of a line. 2011-12-01 20:30:16 +01:00
Alexandre Julliard 11c2150dd9 comctl32/syslink: Wrap the link text on \n characters. 2011-11-18 14:26:17 +01:00
Francois Gouget 76b6c8f517 comctl32: Send a WM_CTLCOLORSTATIC message and erase the background while painting. 2011-09-26 22:42:02 +02:00
Francois Gouget 701415f045 comctl32: Not visited links use HotTrackingColor for the text. 2011-09-22 19:51:50 +02:00
Nikolay Sivov f79c4d6fa2 comctl32/syslink: Call default procedure directly when needed. 2011-04-27 11:54:49 +02:00
Austin English 49538a4b31 comctl32: Remove extraneous parentheses (LLVM/Clang). 2011-04-13 14:13:55 +02:00
Nikolay Sivov f894862ebc comctl32: Fix SysLink debug channel name, add a trace. 2010-05-18 18:42:09 +02:00
Nikolay Sivov e98687f425 comctl32/syslink: Implement LWS_IGNORERETURN. 2009-10-21 16:05:58 +02:00
Nikolay Sivov b853de8038 comctl32/syslink: Implement LWS_TRANSPARENT style. 2009-10-21 16:05:58 +02:00
Nikolay Sivov 92c2d8afcd comctl32/syslink: Add a WM_ERASEBKGND handler. 2009-10-21 16:05:58 +02:00
Alexandre Julliard 6d7ad66315 comctl32: Avoid repainting a NULL link. 2009-06-08 18:13:22 +02:00
Nikolay Sivov a2f309a3ee comctl32/syslink: Use cached colors for SysLink. 2009-05-19 15:41:53 +02:00
Gerald Pfeifer bb6e8e56ce comctl32: Simplify four functions by removing unused parameters. 2009-02-02 15:21:43 +01:00
Gerald Pfeifer 2a06a97336 comctl32: Remove unused parameter from SYSLINK_WrapLine. 2009-01-19 12:46:41 +01:00
Ricardo Filipe 6c24fb1ca8 comctl32: Removed dead increment (llvm/clang). 2008-11-21 11:28:45 +01:00
Andrew Talbot d0e860b8a3 comctl32: Sign-compare warnings fix. 2008-09-22 11:52:15 +02:00
Mikołaj Zalewski 60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +02:00
Andrew Talbot 161d3322d6 comctl32: Remove unused variables. 2008-04-16 14:08:04 +02:00
Andrew Talbot 867f254bec comctl32: Remove unneeded casts. 2007-12-31 17:40:45 +01: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 af16b105a7 comctl32: Constify some variables. 2007-04-03 11:21:11 +02:00
Michael Stefaniuc 22ecd7aa67 comctl32: Remove redundant NULL checks before Free() (found by Smatch). 2007-03-08 11:58:04 +01:00
Thomas Weidenmueller 254b97732b comctl32: Implement LM_GETIDEALSIZE for the syslink control. 2007-02-20 20:10:53 +01:00
Felix Nawothnig 8784d47cba comctl32: Remove redundant NULL checks before Free() calls. 2007-02-14 12:22:39 +01:00
Alexandre Julliard 7cca856315 comctl32: Properly handle negative coordinates for mouse events. 2006-10-25 17:41:48 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Thomas Weidenmueller bb56d907e5 comctl32: Reduce memory usage of the syslink control. 2006-01-06 13:08:09 +01:00
Thomas Weidenmueller adc416b756 comctl32: Some painting fixes for the syslink control. 2006-01-06 13:04:14 +01:00
Thomas Weidenmueller 36f6bbb85c Improved word wrapping and tab key handling. 2005-11-21 13:34:06 +00:00
Michael Kaufmann e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Dimitrie O. Paun e50960b3d8 Audit the code against Comctl32.dll version 6.0.
Handle notification and styles as in the other controls.
Maintain the const for strings throughout parsing.
2005-04-11 12:58:30 +00:00
Francois Gouget 6b10c324c5 Assorted spelling fixes. 2005-03-30 17:08:31 +00:00
Dimitrie O. Paun 8df71a6cfa Use {Alloc,ReAlloc,Free}() instead of Heap{Alloc,ReAlloc,Free}(). 2005-03-25 20:49:00 +00:00
Dimitrie O. Paun b1d65cb15d Handle wParam in WM_PAINT properly: if non-null, it is the hdc we are
supposed to use to draw into.
2005-03-25 10:26:10 +00:00
Francois Gouget fbb3343547 Assorted spelling fixes. 2005-03-02 13:53:50 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00