Commit Graph

3338 Commits

Author SHA1 Message Date
Nikolay Sivov 5d657a106f comctl32/listview: Use proper A/W call to measure item text string. 2010-09-27 14:13:16 +02:00
Nikolay Sivov b65423c546 comctl32/treeview: Erase background when painting over supplied hdc. 2010-09-27 14:13:16 +02:00
Hans Leidekker af7e4dbe54 comctl32: Add a stub implementation of TaskDialogIndirect. 2010-09-27 14:10:46 +02:00
Alexandre Julliard af200111b4 comctl32: Return the correct hittest for the size grip in mirrored windows. 2010-09-24 15:45:55 +02:00
Austin Lund e1a0a66f27 comctl32/tests: Default listview width appears to be 1 inch. 2010-09-23 11:53:11 +02:00
Austin Lund 3836e62ed8 comctl32/tests: LVM_GETRECTITEM should return TRUE. 2010-09-22 12:43:37 +02:00
Austin English 76ba45e5ab comctl32: Fix compiler warnings on Clang. 2010-09-20 13:57:40 +02:00
Gerald Pfeifer 9724a432e9 comctl32: Remove unused parameter lpcs from TOOLTIPS_Create. 2010-09-20 13:48:12 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard cd3d46d178 comctl32: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:47 +02:00
Nikolay Sivov acbd632039 comctl32/imagelist: Fix return value for IImageList_GetIconSize(). 2010-08-23 13:37:02 +02:00
Nikolay Sivov 9b77425f6a comctl32/imagelist: Fix return value from IImageList_SetBkColor(). 2010-08-23 13:37:02 +02:00
Nikolay Sivov 1c82b3491a comctl32/imagelist: Remove parameter check from IImageList_GetBkColor(). 2010-08-23 13:37:02 +02:00
Nikolay Sivov 6db1d3c5b9 comctl32/imagelist: Fix reference leak in IImageList_Clone(). 2010-08-23 13:37:01 +02:00
Nikolay Sivov 87847aa13c comctl32/imagelist: Remove parameter check from IImageList_Clone(). 2010-08-23 13:37:01 +02:00
Nikolay Sivov eb2aae669c comctl32/imagelist: Make IImageList_Merge() crash like it does on native. 2010-08-23 13:37:01 +02:00
Gerald Pfeifer 84a6598290 comctl32: Remove the last, unused parameter from LISTVIEW_VScroll and all its invocations. 2010-08-23 13:37:01 +02:00
Nikolay Sivov d84cad6a06 comctl32/imagelist: Fail to create imagelist with zero or negative image dimensions. 2010-08-20 13:46:54 +02:00
Nikolay Sivov 66c9a73db5 comctl32/imagelist: Fail in ImageList_GetIconSize on null parameters. 2010-08-20 13:46:49 +02:00
Nikolay Sivov 8bcdc9ad43 comctl32/tests: More imagelist tests to show broken parameter validation. 2010-08-20 13:46:45 +02:00
Nikolay Sivov 4023e0125f comctl32/imagelist: Fix failure code for IImageList_Remove(). 2010-08-20 13:46:40 +02:00
Nikolay Sivov 5ee4441c15 comctl32/imagelist: Fix failure code for IImageList_Draw(). 2010-08-20 13:46:36 +02:00
Nikolay Sivov 33ee0cae46 comctl32/tests: Use reduced IMAGELISTDRAWPARAMS structure size for tests. 2010-08-20 13:46:33 +02:00
Nikolay Sivov 4d6c30f90f comctl32/tests: Use better names for test functions, discover some new test failures. 2010-08-20 13:46:30 +02:00
Nikolay Sivov ce5a06c1b0 comctl32/listview: Fix infinite loop case for full item range as a first search range. 2010-08-20 13:21:34 +02:00
Austin Lund 8fdb1bec12 comctl32/tests: DateTimePicker and MonthCalendar controls only support Gregorian calendar. 2010-08-19 17:32:18 +02:00
David Hedberg 31f538516a comctl32: Return 0 when extended item state is requested from a treeview. 2010-08-18 11:29:15 +02:00
David Hedberg 4507905f8b comctl32: Don't break on TVIS_NOSINGLEEXPAND. 2010-08-18 11:28:16 +02:00
Austin Lund c3f9a4c362 comctl32/tests: Do not perform comparison of dates if GetDateFormat fails. 2010-08-18 09:47:32 +02:00
Gerald Pfeifer ab575718ce comctl32: Merge is_textT and is_textW into a single is_text. 2010-08-16 15:54:22 +02:00
Nikolay Sivov 9ce376181a comctl32/monthcal: Use recently introduced enum in scroll buttons painting helper. 2010-08-16 13:45:14 +02:00
Nikolay Sivov ae1062c12d comctl32/monthcal: Store all control colors in a single array. 2010-08-16 13:45:07 +02:00
Nikolay Sivov 8caeb2f735 comctl32/monthcal: Fix assumption about a single calendar for minimal rectangle calculation. 2010-08-16 13:44:55 +02:00
Nikolay Sivov 197a716424 comctl32/monthcal: Remove macro used once. 2010-08-16 13:44:50 +02:00
Nikolay Sivov af6ba8297f comctl32/monthcal: Properly scroll calendars on year change. 2010-08-16 13:44:43 +02:00
Nikolay Sivov 23d8d35e9e comctl32/monthcal: Make month popup menu respect multiple calendars. 2010-08-16 13:44:39 +02:00
Nikolay Sivov 09d883fbf0 comctl32/monthcal: Properly adjust selections on scrolling. 2010-08-16 13:44:35 +02:00
Nikolay Sivov 76d3e1d553 comctl32/monthcal: Support new hittest fields for some cases. 2010-08-16 13:44:29 +02:00
Nikolay Sivov 94dfbcaad5 comctl32/tests: Remove some noise from function names.
Everything in this file is about Monthcal.
2010-08-04 13:26:11 +02:00
Nikolay Sivov 8e968fd290 comctl32/monthcal: Add some tests for post-V1 hittest fields. 2010-08-04 13:26:00 +02:00
Andrew Talbot ebacf49f02 comctl32: Constify some variables. 2010-08-04 12:26:15 +02:00
Nikolay Sivov 7fb6031731 comctl32/monthcal: Erase week numbers rectangle before drawing new text. 2010-08-02 14:08:48 +02:00
Nikolay Sivov 49949cbbc2 comctl32/monthcal: No need to calculate month length on every iteration. 2010-08-02 14:08:40 +02:00
Nikolay Sivov db10fb8301 comctl32/monthcal: Get rid of stored current selection date, it's always synced with lower bound. 2010-08-02 14:08:34 +02:00
Nikolay Sivov 516c322ecc comctl32/monthcal: Add support for month delta in button navigation. 2010-08-02 14:08:20 +02:00
Nikolay Sivov b83d11ace4 comctl32/monthcal: Add helper to jump to specified number of months. 2010-08-02 14:08:14 +02:00
Nikolay Sivov 23e9866be8 comctl32/monthcal: Fix navigation from last day in a month. 2010-08-02 14:08:06 +02:00
Nikolay Sivov a35085457e comctl32/monthcal: Rename button navigation helper to better reflect its purpose. 2010-08-02 14:08:00 +02:00
Andrew Talbot 2b9ff98203 comctl32: Constify some variables. 2010-08-02 12:55:21 +02:00
Andrew Talbot 2061bf5f38 comctl32: Constify some variables. 2010-08-02 12:55:21 +02:00
Nikolay Sivov 279677b7d8 comctl32/treeview: Fix possible crash in TVS_SINGELEXPAND helper (Coverity). 2010-07-28 16:28:23 +02:00
Nikolay Sivov 6711780a8f comctl32/tests: Merge one test function to existing tests, use explicit message numbers. 2010-07-26 18:38:32 +02:00
Nikolay Sivov 16dfb1a039 comctl32/treeview: Fix TVS_SINGLEEXPAND notifications order. 2010-07-26 18:38:32 +02:00
Nikolay Sivov b3a61c1329 comctl32/treeview: Properly initialize expanded image index. 2010-07-26 18:38:32 +02:00
Dmitry Timoshkov 1bf5e12e95 comctl32: Make sure that the focus is set to an existing property sheet button. 2010-07-22 16:07:54 +02:00
Michael Stefaniuc 7dfba50bca comctl32: Remove the ignored common resource attributes. 2010-07-22 10:39:05 +02:00
Paul Vriens 36b595e69c comctl32: Use the Cyrillic 'O' in the Serbian translation. 2010-07-22 10:21:59 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Paul Vriens bd16a7225d comctl32: Add the Serbian (Cyrillic) translation.
Translation by Nenad Vujic <nesa24casa@gmail.com>
2010-07-21 09:33:50 +02:00
Nikolay Sivov b486c50523 comctl32/monthcal: Use memcpy to copy day state arrays. 2010-07-20 16:28:17 +02:00
Alexandre Julliard af6fb4712f comctl32: Fix positioning of toolbars that have the WS_BORDER style. 2010-07-20 14:40:32 +02:00
Nikolay Sivov 94666ebf0d comctl32/monthcal: Prepare MCM_GETMONTHRANGE with GMR_VISIBLE for multiple calendars. 2010-07-19 15:15:53 +02:00
Nikolay Sivov 34fba5a2d2 comctl32/monthcal: Get rid of goto jumps in hit test helper. 2010-07-19 15:15:47 +02:00
Nikolay Sivov 8ea515c872 comctl32/monthcal: Modify hittesting helper to work with multiple calendars. 2010-07-19 15:15:41 +02:00
Nikolay Sivov 2042cbc243 comctl32/monthcal: Prepare drawing helpers for multiple calendars. 2010-07-19 15:15:33 +02:00
Nikolay Sivov 274d132b1f comctl32/monthcal: Separate single calendar data. 2010-07-19 15:15:22 +02:00
David Hedberg b30934c529 comctl32: Warn when using unsupported extended styles. 2010-07-19 15:09:05 +02:00
David Hedberg e81d65f8d4 comctl32: Add support for expanded state image in treeview. 2010-07-19 15:09:03 +02:00
Florian Köberle 4be9f0a79b comctl32: Simplify the code. 2010-07-19 14:38:17 +02:00
Florian Köberle 42c5ff799a comctl32: Call TREEVIEW_SendExpanded after expanding. 2010-07-19 14:38:17 +02:00
Paul Vriens 04678d955d comctl32: Add the Serbian (Latin) translation.
Translation by Nenad Vujic <nesa24casa@gmail.com>
2010-07-19 14:38:16 +02:00
Alexandre Julliard c45c9e9fe0 Revert "comctl32: Fix selection of tab via mouse."
This reverts commit 6018b88913. It
breaks several apps. To be revisited after 1.2.
2010-07-05 17:36:19 +02:00
Matthias Kupfer 6018b88913 comctl32: Fix selection of tab via mouse. 2010-07-02 16:50:03 +02:00
Igor Paliychuk 4629f28293 comctl32: Ukrainian translation update. 2010-07-01 13:44:15 +02:00
Dmitry Timoshkov 1066194f94 comctl32: Add a bunch of imagelist storage tests, make them pass under Wine. 2010-06-23 15:27:47 +02:00
Florian Köberle 2f77e2b93d comctl32/tests: Test calculating the rect of a child item while handling TVN_ITEMEXPANDED. 2010-06-21 11:52:26 +02:00
Hwang YunSong 40200a404d comctl32: Update Korean resource. 2010-06-21 11:47:58 +02:00
Nikolay Sivov 138b2435f9 comctl32/tests: Some expand notifications tests. 2010-06-10 14:59:09 +02:00
Nikolay Sivov 16973508e7 comctl32/treeview: Remove some casts. 2010-06-08 13:00:25 +02:00
Nikolay Sivov b354935092 comctl32/treeview: Remove commented out lines. 2010-06-08 13:00:07 +02:00
Nikolay Sivov 767754031d comctl32/treeview: Activate tree verification only when TRACE() is on. 2010-06-08 13:00:03 +02:00
Alexandre Julliard 9eea385a0e comctl32/imagelist: Grow the has_alpha array also in ImageList_SetImageCount. 2010-06-08 12:45:48 +02:00
Alex Balut 32f240bfc1 comctl32/tests: Added a test that checks whether setting a custom default button in a property sheet works. 2010-06-07 16:43:34 +02:00
Nikolay Sivov fb1d5310ad comctl32/rebar: Use defined constants as parameters. 2010-06-07 13:52:17 +02:00
Nikolay Sivov 60e467a6cd comctl32/rebar: Fix index check condition for RB_SHOWBAND. 2010-06-07 13:48:27 +02:00
Alexandre Julliard 48e396ea6c comctl32: Load comctl32 builtin bitmaps as 32-bit DIBs. 2010-06-02 15:51:39 +02:00
Alexandre Julliard 95c529dee6 comctl32: Only support an alpha channel for 32-bpp DIB-based imagelists. 2010-06-02 12:46:58 +02:00
Alexandre Julliard 350f0d3982 comctl32/imagelist: Initialize the mask bits to zero in case the mask bitmap is smaller than the image bitmap. 2010-06-01 16:26:15 +02:00
Alexandre Julliard d81ddde230 comctl32/imagelist: Don't select the mask bitmap into a DC, it may already be selected. 2010-06-01 16:25:47 +02:00
Paul Vriens 1dbcc0086e comctl32: Add Danish translation.
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-01 11:06:03 +02:00
Frédéric Delanoy 1bb4513a06 comctl32: Fix French translation. 2010-05-31 12:14:27 +02:00
Nikolay Sivov 07f9087365 comctl32: Fix accelerator letters for Toolbar customizing dialog. 2010-05-28 16:22:24 +02:00
Nikolay Sivov d926939b12 comctl32: Export subclass calls by names too. 2010-05-27 14:46:43 +02:00
Nikolay Sivov 01fdf21717 comctl32/listview: Perform ranges validation only when tracing enabled. 2010-05-26 17:36:32 +02:00
Alexandre Julliard f90b6d5af6 comctl32/imagelist: Fix a copy/paste typo in ImageList_Merge. 2010-05-26 17:36:23 +02:00
Alexandre Julliard 5572fc57ef comctl32/imagelist: Add support for 25% and 50% blending when using an alpha channel. 2010-05-26 15:39:17 +02:00
Michael Stefaniuc 02b4103868 comctl32: Avoid a potential NULL pointer dereference in a TRACE. 2010-05-25 13:27:33 +02:00
Nikolay Sivov 61c8a30574 comctl32/listview: Fix vertical position offset for subitem rectangle. 2010-05-24 11:30:33 +02:00
Nikolay Sivov 5d708246d7 comctl32/listview: Don't forward WM_COMMAND to parent if we don't have an Edit box. 2010-05-21 14:37:52 +02:00
Alexandre Julliard 8f1853a309 comctl32/imagelist: Clear pixels that fall outside the mask when generating an alpha channel. 2010-05-19 20:11:48 +02:00