Commit Graph

3064 Commits

Author SHA1 Message Date
Paul Vriens 54a01bf5bc comctl32/tests: Remove unused parameter. 2009-11-13 12:21:41 +01:00
Owen Rudge 856dda3288 comctl32/tests: Add IImageList creation test. 2009-11-13 12:14:46 +01:00
Owen Rudge a4f2ab9d14 comctl32: Add basic structure for IImageList interface. 2009-11-13 12:14:40 +01:00
Nikolay Sivov 459a0c4de9 comctl32/treeview: Collapse some message handlers. 2009-11-12 17:06:47 +01:00
Nikolay Sivov 073486569a comctl32/toolbar: Call handlers in more general way. 2009-11-12 17:06:35 +01:00
Nikolay Sivov 7b19d8bba6 comctl32/toolbar: Use single handler for TB_GETBUTTONTEXTW/TB_GETBUTTONTEXTA. 2009-11-12 17:06:26 +01:00
Nikolay Sivov 62a7373913 comctl32/toolbar: Use single handler for TB_SETBUTTONINFOW/TB_SETBUTTONINFOA pair. 2009-11-12 17:06:20 +01:00
Owen Rudge e1f3edef3e comctl32: Add support for scrolling during marquee selection. 2009-11-04 13:07:57 +01:00
Owen Rudge c1877a2d50 comctl32: Cancel marquee selection if we lose focus in listview. 2009-11-04 13:07:57 +01:00
Owen Rudge 038e36aded comctl32: Move marquee logic into separate function. 2009-11-04 13:07:57 +01:00
Owen Rudge 14991b78d8 comctl32: Add absolute version of iterator_frameditems. 2009-11-04 13:07:57 +01:00
Paul Vriens 9bd6887372 comctl32/tests: Use A-functions. 2009-10-28 16:07:48 +01:00
Nikolay Sivov eaa939e942 comctl32/tests: Release Imagelist handles when no needed anymore. 2009-10-26 11:19:25 +01:00
Nikolay Sivov 31ae6a902e comctl32/toolbar: Don't leak button strings. 2009-10-26 11:19:19 +01:00
Nikolay Sivov a04c6db804 comctl32/tests: Explicitly initialize window handle. 2009-10-23 14:40:40 +02:00
Nikolay Sivov a061d3a0d4 comctl32: Fix imagelist leak when switching LVS_EX_CHECKBOXES style. 2009-10-22 14:37:13 +02:00
Nikolay Sivov cd7cfd7451 comctl32/listview: Free ID array when removing all items. 2009-10-22 14:37:02 +02:00
Nikolay Sivov 7301ec8aa8 comctl32/listview: Free column data on control destruction. 2009-10-22 14:36:56 +02:00
Nikolay Sivov aaec03347d comctl32/listview: Don't query header if it isn't created. 2009-10-22 14:36:47 +02:00
Nikolay Sivov ebea81f131 comctl32/tests: Release activation context handle when we're done with tests. 2009-10-21 16:05:59 +02:00
Nikolay Sivov 57577fb20b comctl32/header: Don't leak Imagelist handle. 2009-10-21 16:05:59 +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
Owen Rudge 36e9153f38 comctl32: Ensure listview control has focus when marquee dragging. 2009-10-20 14:27:17 +02:00
Paul Vriens 41099b0ff7 comctl32/tests: Fix some test failures on older comctl32. 2009-10-20 14:00:36 +02:00
Francois Gouget 32bba6222b comctl32: Add a trailing '\n' to a Wine trace. 2009-10-19 14:45:37 +02:00
Francois Gouget 5a45951f3e comctl32/monthcal: Fix compilation on systems that don't support nameless unions. 2009-10-19 14:45:04 +02:00
Ričardas Barkauskas a8f89a2ffa comctl32/propsheet: Test and fix for crash processing PSM_INDEXTOHWND with no longer valid handle. 2009-10-19 14:44:57 +02:00
Nikolay Sivov 1ab851a1bd comctl32/monthcal: Explicitly set required control size. 2009-10-19 11:45:20 +02:00
Nikolay Sivov 5517209a24 comctl32/header: Process input order array more accurately. 2009-10-19 11:45:17 +02:00
Nikolay Sivov 76859b0f47 comctl32/treeview: Erase background on WM_PAINT if BeginPaint() tells us to do it. 2009-10-19 11:45:12 +02:00
Owen Rudge 685fe55f97 comctl32: Only execute hit test in MouseMove if necessary. 2009-10-19 11:34:45 +02:00
Nikolay Sivov cbdc99cdba comctl32/monthcal: Get/set unicode format flag using MCM_[GET|SET]UNICODEFORMAT. 2009-10-16 13:36:01 +02: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
Nikolay Sivov 2cc98ef94a comctl32/monthcal: Reduce update rectangle after updating current selection. 2009-10-14 11:25:46 +02:00
Nikolay Sivov ca579f7c61 comctl32/monthcal: Fix painting selected day, remove unneeded operations. 2009-10-14 11:25:41 +02:00
Nikolay Sivov e1de222e4e comctl32/comboex: Handle NULL item text case to avoid crash. 2009-10-14 11:25:34 +02:00
Paul Vriens 3c130309d3 comctl32/tests: Fix a test failure on older comctl32 versions. 2009-10-13 11:28:09 +02:00
Nikolay Sivov e58b5349fb comctl32/monthcal: Add separate handler for WM_PRINTCLIENT. 2009-10-13 11:27:59 +02:00
Nikolay Sivov 7beaa88ed9 comctl32/monthcal: Implement handler for WM_ERASEBKGND. 2009-10-13 11:27:52 +02:00
Nikolay Sivov 840a39e90a comctl32/monthcal: Simplify painting operations, split painting to several helpers. 2009-10-13 11:27:48 +02:00
Nikolay Sivov 5a244bc863 comctl32/monthcal: Fix today link test. 2009-10-12 13:01:54 +02:00
Nikolay Sivov a914372586 comctl32/datetime: Use SDK class name for inner button window. 2009-10-12 13:01:48 +02:00
Nikolay Sivov f12f948849 comctl32/datetime: It isn't allowed to change DTS_SHOWNONE after creation. 2009-10-12 13:01:42 +02:00
Nikolay Sivov a096ba4c5b comctl32/datetime: Fix wrong assumption about DTN_DATETIMECHANGE flags, add DTN_CLOSEUP notifications. 2009-10-12 13:01:35 +02:00
Nikolay Sivov 8431bed5f6 comctl32/datetime: Get rid of duplicated helper. 2009-10-12 13:01:28 +02:00
Nikolay Sivov a4b5c5db1c comctl32: Don't use additional heap allocated pointer to old window procedure. 2009-10-12 13:01:21 +02:00
Nikolay Sivov ecf89c7e3d comctl32/monthcal: Fix selection during navigation with prev/next buttons. 2009-10-12 13:00:46 +02:00
Nikolay Sivov c9e3e3bc8e comctl32/monthcal: Fix multiselection days painting, including intersections with prev/next months. 2009-10-12 13:00:39 +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 7d2ef4f23d comctl32/monthcal: Fix column/row calculation for previous and next month. 2009-10-12 13:00:19 +02:00
Nikolay Sivov 22dddce999 comctl32/monthcal: Fix a test skip condition - zero is a valid day of week. 2009-10-12 13:00:08 +02:00
Nikolay Sivov 6b72f16906 comctl32/monthcal: Handle over/underflow while navigation with month menu. 2009-10-12 13:00:01 +02:00
Nikolay Sivov 18857222ec comctl32/monthcal: Handle September 1752 with a special case - it's a 19 day month. 2009-10-12 12:59:53 +02:00
Nikolay Sivov a00c217ce9 comctl32/monthcal: Reuse existing calls to get day of week. 2009-10-12 12:59:37 +02:00
Nikolay Sivov 2906aaf605 comctl32/monthcal: Process UpDown year control through subclass procedure. 2009-10-12 12:59:31 +02:00
Nikolay Sivov 48fcccd861 comctl32/tab: Support for TCN_KEYDOWN notification. 2009-10-12 12:58:48 +02:00
Nikolay Sivov 64102f5f71 comctl32/tab: Handle item focusing better (including keyboard support). 2009-10-12 12:58:42 +02:00
Nikolay Sivov 64945b2779 comctl32/tab: Add more TRACE(), further cleanup. 2009-10-12 12:58:32 +02:00
Nikolay Sivov 6f05fd2dd9 comctl32/tab: Remove dead parameter check code. 2009-10-12 12:58:24 +02:00
Nikolay Sivov b0952c959b comctl32/tab: Remove unnecessary helper parameter, use SDK name for UpDown control. 2009-10-12 12:58:17 +02:00
Nikolay Sivov 9b06ec73fc comctl32/tab: Cache window GWL_STYLE style. 2009-10-12 12:58:08 +02:00
Paul Vriens bfe67814f9 comctl32/tests: Fix some test failures on older comctl32 versions. 2009-10-12 12:13:52 +02:00
Joel Holdsworth 84cb7031f4 comctl32/tests: Added tests for ImageList_DrawIndirect. 2009-10-09 11:50:29 +02:00
Nikolay Sivov d083e7701b comctl32/datetime: Draw field text horizontally centered. 2009-10-09 11:50:29 +02:00
Nikolay Sivov f27e37a22f comctl32/datetime: Use locale data to compute field widths for day and month. 2009-10-09 11:50:29 +02:00
Nikolay Sivov 08b6bff386 comctl32/monthcal: Really use locale data for all days. 2009-10-09 11:50:29 +02:00
Nikolay Sivov c93a520783 comctl32/datetime: Fix selections painting - use text rectangle, not whole field. 2009-10-09 11:50:29 +02:00
Nikolay Sivov 26ab381ffa comctl32/datetime: Properly handle hit on separators and empty control area. 2009-10-09 11:50:29 +02:00
Nikolay Sivov b398d4434d comctl32/datetime: Block WM_SETTEXT message. 2009-10-09 11:50:29 +02:00
Francois Gouget fe935e8d50 Assorted spelling fixes. 2009-10-08 12:17:31 +02:00
Francois Gouget fd90aab3a4 comctl32/tests: Make test_ApproximateViewRect() static. 2009-10-08 12:17:31 +02:00
Paul Vriens 87441ff83c comctl32/tests: Fix some test failures on older comctl32 versions. 2009-10-08 12:17:30 +02:00
Nikolay Sivov c68324dfed comctl32/monthcal: Implement MCM_GETMONTHRANGE for GMR_DAYSTATE flag and a single calendar control. 2009-10-08 12:16:57 +02:00
Nikolay Sivov f37130c83b comctl32: Use user32 control names from public header constants instead of defining over and over again. 2009-10-08 12:11:47 +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 bd58b130ba comctl32/monthcal: Cleanup top drawing helper namespace, reduce parameter count in prev/next draw helpers. 2009-10-08 12:11:14 +02:00
Nikolay Sivov 41db6f8500 comctl32/monthcal: Invalidate unconditonally on MCM_SETFIRSTDAYOFWEEK. 2009-10-07 12:23:52 +02:00
Nikolay Sivov 526e1d81a3 comctl32/monthcal: Recalculate control layout on MCS_WEEKNUMBERS style change. 2009-10-07 12:23:45 +02:00
Nikolay Sivov 689a9eb5df comctl32/monthcal: Update day of week properly while iterating with prev/next buttons and hit testing. 2009-10-07 12:23:39 +02:00
Nikolay Sivov 71d4b5fcd4 comctl32/monthcal: Optimize WM_LBUTTONUP handler. 2009-10-07 12:23:31 +02:00
Nikolay Sivov 9e75962ec5 comctl32/monthcal: Fix a nice typo in test message. 2009-10-07 12:23:17 +02:00
Nikolay Sivov 6b5c6645b9 comctl32/monthcal: Use a timer to auto update today date memory. 2009-10-07 12:23:09 +02:00
Nikolay Sivov 70eb6c0385 comctl32/monthcal: Use a single timer for auto month scroll with prev/next buttons. 2009-10-07 12:22:57 +02:00
Aric Stewart c885bd16c7 comctl32/tests: LISTVIEW_ApproximateViewRect tests for LV_VIEW_ICON. 2009-10-07 12:22:22 +02:00
Aric Stewart 8e8c5130f7 comctl32: Implement LISTVIEW_ApproximateViewRect for icon. 2009-10-07 12:22:16 +02:00
Ge van Geldorp e1b5ca70bb comctl32/tests: Fix misc test on Win7. 2009-10-06 11:59:56 +02:00
Nikolay Sivov 87e9e3c370 comctl32/monthcal: Fix '&->&&' typo in focused day helper. 2009-10-06 11:57:24 +02:00
Nikolay Sivov 2d2edc9a83 comctl32/monthcal: Fix parameter validation in MCM_SETCURSEL handler. 2009-10-06 11:57:08 +02:00
Nikolay Sivov 42733f980b comctl32/monthcal: Check date limits on prev/next month buttons and year UpDown control. 2009-10-06 11:57:03 +02:00
Nikolay Sivov b8e0a33455 comctl32/monthcal: Remove today rectangle and focus drawing code from loops. 2009-10-06 11:56:55 +02:00
Nikolay Sivov 9723e6213d comctl32/monthcal: Simplify WM_MOUSEMOVE handler. 2009-10-06 11:56:46 +02:00
Nikolay Sivov f65c2f1d63 comctl32/monthcal: Check configured selection range max width in MCM_SETSELRANGE handler. 2009-10-06 11:56:40 +02:00
Nikolay Sivov 2c928de9e2 comctl32/monthcal: Parameter fixes for MCM_SETSELRANGE handler: swap selection bounds, store day of week. 2009-10-06 11:56:33 +02:00
Owen Rudge 2a869d039a comctl32: Ensure coordinates are valid during listview marquee selection. 2009-10-06 11:54:45 +02:00
Nikolay Sivov b97697dbe7 comctl32/monthcal: Check range limits in MCM_SETCURSEL. 2009-10-05 14:58:14 +02:00