Commit Graph

74 Commits

Author SHA1 Message Date
Zhiyi Zhang ee3ec759d5 comctl32/status: Do not draw background for status text.
DrawStatusTextW() always draws the text background, so it's unfit to use it directly to draw status
text because status control draws its own background.

Fix status control text having wrong background when themed.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-20 10:53:40 +01:00
Zhiyi Zhang b0e51ead0d uxtheme: Move themed dialog to uxtheme.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51137
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-20 18:49:55 +02:00
Ziqing Hui 3192fb5396 comctl32/toolbar: Correctly draw disabled button which contains 32 bpp bitmap with alpha channel.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=24784
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 17:28:00 +02:00
Nikolay Sivov 8dfd51b487 comctl32/combo: Force minimal item height.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-28 08:36:17 +01:00
Gabriel Ivăncescu 9fee8a7d25 comctl32/button: Implement command links.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:28 +02:00
Fabian Maurer 313c63e194 comctl32/combo: Implement logic for setting and getting dropdown height.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-20 09:21:52 +02:00
Zhiyi Zhang c1b1af5af9 comctl32/taskdialog: Add support for expando button.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-19 18:25:31 +02:00
Michael Stefaniuc 962b31c80b include: Add a generic available ARRAY_SIZE().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-04 10:39:15 +02:00
Francois Gouget 44c865649b comctl32: Remove THEMING_SetSubclassData(). It is not used anymore.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-19 12:51:21 +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 04fe481d2b comctl32: Introduce ListBox control.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-14 09:05:30 +01:00
Nikolay Sivov c9e98034b3 comctl32: Introduce ComboBox control.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 19:15:00 +01:00
Nikolay Sivov 31d3fcc0b2 comctl32: Introduce Static control.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-08 13:10:37 +01:00
Nikolay Sivov 5d10abde50 comctl32: Introduce Button control.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 14:28:10 +01:00
Nikolay Sivov 662f727a79 comctl32: Introduce Edit control.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:55 +01:00
Nikolay Sivov 995b6900a7 comctl32/taskdialog: Initial implementation of a minimal task dialog.
Based on patches by Fabian Maurer.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 18:57:26 +01:00
Nikolay Sivov 2e0ff5b780 comctl32: Remove unused defines. 2013-05-13 11:09:36 +02:00
Owen Rudge c8c3c4be91 comctl32/datetime: Check dates are within range in SetSystemTime. 2012-03-12 10:45:47 +01:00
Marcus Meissner 98799741a2 comctl32: Mark internal symbols as hidden visibility. 2011-05-16 16:35:32 +02:00
Alexandre Julliard 2b4aeca70b comctl32: Use the correct resource ids for cursors. 2010-10-18 19:08:37 +02:00
Nikolay Sivov 4651624d35 comctl32/monthcal: Simplify parameter set of day of week calculation helper. 2009-10-12 13:00:30 +02:00
Nikolay Sivov c8f35a136d comctl32/monthcal: Fix the way a first day of week is handled. 2009-10-08 12:11:24 +02:00
Nikolay Sivov 9557376138 comctl32/datetime: Always store a recalculated day of week instead of a value passed in (DTM_SETSYSTEMTIME). 2009-10-01 11:35:06 +02:00
Nikolay Sivov b0d3db5b29 comctl32/monthcal: Copy SYSTEMTIME with a simple assignment. 2009-09-28 12:41:30 +02:00
Nikolay Sivov 2c190ab438 include: Move some documented DPA definitions to public header, use PSDK names. 2009-09-10 10:52:29 +02:00
Andrew Talbot b898f8dd58 comctl32: Various const qualifier fixes. 2009-06-04 12:12:13 +02:00
Marcus Meissner 96412ee564 Annotate with allocation size attribute. 2008-09-05 11:22:26 +02:00
Mikołaj Zalewski 60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +02:00
Mikołaj Zalewski 9aee00e8fa comctl32: statusbar: WM_SETFONT should change the bar height. 2008-07-17 12:24:52 +02:00
Anatoly Lyutin d8ab4af526 comctl32: Add HotTrackingColor into COMCTL32_SysColor structure. 2008-03-26 12:09:22 +01:00
Aric Stewart bbc5757263 comctl32: Flesh out version info. 2007-09-10 15:29:47 +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
Mikołaj Zalewski ffbf61ae55 comctl32: rebar: Test and fix the WM_SIZE handler and REBAR_ForceResize. 2007-02-20 11:43:13 +01:00
Mikołaj Zalewski 8cbca5dcfd comctl32: toolbar: If wParam in TB_ADDBUTTON is large, enlarge the
bitmap before ImageList_AddMasked rather then call
ImageList_SetImagesCount after.
2006-09-26 11:38:35 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Saulius Krasuckas ab71fada12 comctl32: Increase FILEVERSION up to 5.81.4704.1100. 2006-05-08 14:48:45 +02:00
Mikołaj Zalewski c5b27fa97b comctl32: Add Str_SetPtrWtoA analogue to Str_SetPtrAtoW. 2006-04-19 19:24:43 +02:00
Frank Richter fc4b08d5fc Unregister theming subclasses at comctl32 shutdown; should fix
reported re-registration errors.
2005-09-12 11:10:58 +00:00
Frank Richter 7d00bb387e Added some generic code to allow subclassing (for the purpose of
theming) of standard controls.
2005-07-27 10:54:49 +00:00
Mike McCormack 882bc4d18d Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-09 09:50:56 +00:00
Robert Shearman 9cfb943561 Implement SetPathWordBreakProc and MirrorIcon. 2004-10-19 22:59:59 +00:00
Robert Shearman e18a31eb4c Add 16x16 error, info and warning icons. 2004-09-07 20:43:30 +00:00
Kevin Koltzau c95959dc7f Fix bug with chained messages. 2004-09-06 20:26:04 +00:00
Kevin Koltzau 59302aed35 Make SetWindowSubclass behave with SetWindowLong subclasses.
Allow unlimited number of subclasses.
Correct issue when SendMessage is called from within a subclass proc.
Add regression test.
2004-08-22 22:29:37 +00:00
Robert Shearman 4c1438a70e - Implement insert marks.
- Rearrange TOOLBAR_INFO.
2004-08-19 19:58:49 +00:00
Filip Navara c8aba95f50 - Let the subclassing stack grow the opposite way to make the code
more transparent.
- Remove SubclassWndProc and move its logic to DefSubclassProc.
2004-05-17 19:48:24 +00:00
Maxime Bellengé d19e264640 Implemented PSH_WIZARD97_OLD and PSH_WIZARD97_NEW property sheet
styles.
2004-05-10 21:26:04 +00:00
Robert Shearman f92bb4b76a - Add cursor resource.
- Implement TB_MOVEBUTTON.
- Implement drag customise.
- Send TBN_TOOLBARCHANGE and TBN_DELETINGBUTTON.
2004-03-23 23:04:08 +00:00
Robert Shearman dd72963949 - Implement the drag list control.
- Fix tabs in LBItemFromPt.
2004-03-09 23:26:44 +00:00
Dimitrie O. Paun 7de279a73a Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}. 2003-09-22 21:32:33 +00:00