Nikolay Sivov
0002cb89ec
comctl32/listview: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 10:55:24 +01:00
Nikolay Sivov
aa98d43c45
comctl32/button: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 10:55:23 +01:00
Nikolay Sivov
7ef99635fb
comctl32/static: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 10:55:21 +01:00
Nikolay Sivov
a1f4a2d13a
comctl32/monthcal: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 10:55:20 +01:00
Nikolay Sivov
8fe1c2282e
comctl32/header: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-30 10:55:18 +01:00
Alex Henrie
5fe082172d
comctl32: Use standard C functions for memory allocation in edit.c.
2022-11-29 19:11:18 +01:00
Nikolay Sivov
644143d553
comctl32/hotkey: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:31 +01:00
Nikolay Sivov
389f961bc5
comctl32/ipaddress: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:31 +01:00
Nikolay Sivov
40c9966efe
comctl32/progress: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:31 +01:00
Nikolay Sivov
25ad6d7594
comctl32/treeview: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:31 +01:00
Nikolay Sivov
fca468beb4
comctl32/updown: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:30 +01:00
Nikolay Sivov
a79b761cdd
comctl32/pager: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:30 +01:00
Nikolay Sivov
80de410139
comctl32/animate: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:30 +01:00
Eric Pouech
190fbc7500
comctl32/tests: Fix monthcal selection tests.
...
Changed MCHITTESTINFO.cbSize to fall back to V1:
From the rest of the tests, it looks like the extended size
of MCHITTESTINFO requires loading common controls V6, which is
only done afterwards in the tests.
Improved lookup of an unselected day.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50097
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-21 12:58:35 +01:00
Alex Henrie
0b09db5902
comctl32: Fix memory leak on error path in EDIT_MakeUndoFit.
2022-11-15 18:05:07 +01:00
Rémi Bernon
d7538e339c
comctl32/tests: Remove a now succeeding todo_wine.
...
Fixed by 33617af814
.
2022-11-07 21:13:32 +01:00
Nikolay Sivov
fed0c33fe0
comctl32/edit: Check for control destruction on notification return.
...
Based on a patch by Mark Jansen.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-07 21:13:31 +01:00
Jinoh Kang
b6a41a2f98
comctl32/tests: Flush events before testing edit control IME messages.
2022-11-07 21:13:31 +01:00
Jinoh Kang
7a772a7feb
comctl32/tests: Flush events before testing edit control SetFocus() messages.
2022-11-07 21:13:31 +01:00
Zhiyi Zhang
398cb9595a
comctl32/button: Initialize dtFlags in PB_Paint().
...
Fix an uninitialized variable warning.
2022-11-02 14:39:30 +01:00
Piotr Caban
ebe35f6f0a
comctl32: Add support for adding extra data in CreatePropertySheetPage.
2022-10-26 15:03:05 +02:00
Piotr Caban
cae20edb0b
comctl32: Fix PROPSHEETPAGE[AW] structure content in messages and callbacks.
2022-10-26 15:03:05 +02:00
Piotr Caban
eb5a4f2160
comctl32: Don't use PROPSHEETPAGE structure to store internal HPROPSHEETPAGE data.
2022-10-26 15:03:05 +02:00
Piotr Caban
fc767fd589
comctl32: Create page if PROPSHEETPAGE was passed as HPROPSHEETPAGE to PropertySheetAW or PSM_INSERTPAGE.
2022-10-26 15:03:05 +02:00
Zhiyi Zhang
4277b47f3e
comctl32/tests: Use a toolbar with TBSTYLE_FLAT in toolbar visual tests.
...
Fix a test failure when theming is off. A toolbar without TBSTYLE_FLAT will fill its checked button
background rectangle when theming is inactive, overwriting the checked pattern required for the test.
2022-10-20 20:57:19 +02:00
Zhiyi Zhang
cacb60cb6d
comctl32/updown: Don't repaint when handling WM_STYLECHANGED.
2022-10-19 18:50:17 +02:00
Zhiyi Zhang
b7624fb4ed
comctl32/tab: Don't repaint when handling WM_STYLECHANGED.
2022-10-19 18:50:16 +02:00
Zhiyi Zhang
ff514c1104
comctl32/syslink: Don't repaint when handling WM_STYLECHANGED.
2022-10-19 18:50:14 +02:00
Zhiyi Zhang
5267d32d67
comctl32/datetime: Don't repaint when handling WM_STYLECHANGED.
2022-10-19 18:50:13 +02:00
Zhiyi Zhang
07685c37aa
comctl32/animate: Don't repaint when handling WM_STYLECHANGED.
2022-10-19 18:50:11 +02:00
Piotr Caban
f3d90dbc89
comctl32: Add helper for drawing header title and subtitle obtained from HPROPSHEETPAGE.
2022-10-19 18:49:02 +02:00
Piotr Caban
831950882c
comctl32: Add helper for setting header subtitle in HPROPSHEETPAGE.
2022-10-19 18:49:02 +02:00
Piotr Caban
9f42a50a0d
comctl32: Add helper for setting header title in HPROPSHEETPAGE.
2022-10-19 18:49:02 +02:00
Piotr Caban
e270a10423
comctl32: Add helper for getting template from HPROPSHEETPAGE.
2022-10-19 18:49:02 +02:00
Piotr Caban
a3b1a9cf67
comctl32: Add helper for creating page HWND from HPROPSHEETPAGE.
2022-10-19 18:49:02 +02:00
Piotr Caban
6c161f3359
comctl32: Add helper for getting icon from HPROPSHEETPAGE.
2022-10-18 23:53:39 +02:00
Piotr Caban
f6fcb16765
comctl32: Add helper for getting title from HPROPSHEETPAGE.
2022-10-18 23:53:39 +02:00
Piotr Caban
91baf79a6c
comctl32: Add helper for loading dialog template from HPROPSHEETPAGE.
2022-10-18 23:53:39 +02:00
Piotr Caban
cf6de3e099
comctl32: Add helper for getting flags from HPROPSHEETPAGE.
2022-10-18 23:53:39 +02:00
Piotr Caban
e05f6451bc
comctl32: Add helper for calling PROPERTYSHEETPAGE callback.
2022-10-18 23:53:38 +02:00
Zhiyi Zhang
a8396d8b1e
comctl32/listview: Don't repaint when handling WM_STYLECHANGED.
...
Some applications subclass listview and change style multiple times when painting. Invalidating
control when handling WM_STYLECHANGED causes infinite WM_PAINT messages in this case and end up
stalling the message queue.
2022-10-18 17:56:32 +02:00
Zhiyi Zhang
44cfa3ec1a
comctl32/treeview: Don't repaint when handling WM_STYLECHANGED.
...
Some applications subclass treeview and change style multiple times when painting. Invalidating
control when handling WM_STYLECHANGED causes infinite WM_PAINT messages in this case and end up
stalling the message queue.
2022-10-18 17:56:27 +02:00
Zhiyi Zhang
c8ec431fd4
comctl32/tests: Test if WM_STYLECHANGED repaints controls.
2022-10-18 17:56:27 +02:00
Zhiyi Zhang
d7c27e19f9
comctl32/tests: Ignore WM_NCPAINT when testing WM_THEMECHANGED for updown control.
...
Fix a possible test failure.
2022-10-18 17:56:23 +02:00
Piotr Caban
d75deeec38
comctl32: Don't cast HPROPSHEETPAGE to PROPSHEETPAGEW*.
2022-10-14 21:52:55 +02:00
Piotr Caban
fd6c1d597c
comctl32: Use HPROPSHEETPAGE directly in PROPSHEET_GetPageRect.
2022-10-14 21:52:55 +02:00
Piotr Caban
aefd67ff60
comctl32: Use HPROPSHEETPAGE directly in PROPSHEET_CreatePage.
2022-10-14 21:52:55 +02:00
Piotr Caban
c7b5108c02
comctl32: Use HPROPSHEETPAGE directly in PROPSHEET_CollectPageInfo.
2022-10-14 21:52:55 +02:00
Piotr Caban
fdd4431304
comctl32: Introduce _PSP structure to store HPROPSHEETPAGE data.
2022-10-14 21:52:55 +02:00
Piotr Caban
b536d57825
comctl32: Don't pass PROPSHEETPAGE to SetWindowSubclass in PROPSHEET_CreatePage.
2022-10-10 11:00:50 +02:00