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
Andrew Eikum
fe92119f53
comctl32/listview: Derive subitem rect from listview origin.
2010-05-18 18:42:18 +02:00
Nikolay Sivov
f894862ebc
comctl32: Fix SysLink debug channel name, add a trace.
2010-05-18 18:42:09 +02:00
Alexandre Julliard
15efbc892b
comctl32/imagelist: Don't pre-multiply the stored image, do it only at blending time.
2010-05-18 18:42:06 +02:00
Joel Holdsworth
4578a9262d
comctl32: Replaced idb_hist_large.bmp with a Tango compliant tool strip.
2010-05-17 12:42:33 +02:00
Joel Holdsworth
6e5b8597ca
comctl32: Replaced idb_hist_small.bmp with a Tango compliant tool strip.
2010-05-17 12:42:33 +02:00
Joel Holdsworth
32adeb44d9
comctl32: Replaced idb_std_large.bmp with a Tango compliant tool strip.
2010-05-17 12:42:32 +02:00
Joel Holdsworth
4079e368b5
comctl32: Replaced idb_std_small.bmp with a Tango compliant tool strip.
2010-05-17 12:42:32 +02:00
Joel Holdsworth
6ac142b0b7
comctl32: Replaced idb_view_large.bmp with a Tango compliant tool strip.
2010-05-17 12:42:32 +02:00
Joel Holdsworth
bf08efd292
comctl32: Replaced idb_view_small.bmp with a Tango compliant tool strip.
2010-05-17 12:42:32 +02:00
Alexandre Julliard
3915cfbd02
comctl32/imagelist: Fix the allocated size of the has_alpha array.
2010-05-17 12:42:25 +02:00
Alexandre Julliard
45fd49bab6
comctl32/imagelist: Generate the mask from the alpha channel if present.
2010-05-16 18:23:04 +02:00
Alexandre Julliard
f2b993d414
comctl32/imagelist: Pre-multiply the colors by the alpha channel when storing an image with alpha.
2010-05-16 18:22:53 +02:00
Alexandre Julliard
91948f9ce8
comctl32: Always alpha blend images for 32-bpp imagelists.
2010-05-14 16:17:56 +02:00
Alexandre Julliard
33e7d0282b
comctl32: Store an alpha channel present flag for each image in an imagelist.
2010-05-14 16:17:56 +02:00
Alexandre Julliard
528722e4e1
comctl32: Also generate an alpha channel when replacing an image or icon in an imagelist.
2010-05-14 16:17:56 +02:00
Alexandre Julliard
f02adf3e2b
comctl32: Generate an alpha channel if necessary when adding images to a 32-bit imagelist.
2010-05-14 16:17:36 +02:00
Alexandre Julliard
f75c7b5f71
comctl32: Make ImageList_AddMasked call ImageList_Add instead of duplicating the functionality.
2010-05-14 13:37:04 +02:00
Gerald Pfeifer
29cc4c9193
comctl32/tests: Check for the outcome of the SendMessage calls in test_monthcal_size.
2010-05-14 11:04:24 +02:00
Gerald Pfeifer
00d5f87d30
comctl32: Remove document of (already removed) infoPtr from LISTVIEW_StyleChanged.
2010-05-13 11:51:19 +02:00
Gerald Pfeifer
b2ff743ccb
comctl32: Remove unused variable infoPtr from TVIEW_StyleChanging.
2010-05-12 18:48:11 +02:00
Huw Davies
c7a9e3a1b2
comctl32: Fix an hfont leak.
2010-05-11 17:44:25 +02:00
Gerald Pfeifer
47fff748cc
comctl32/tests: Remove variable hwndheader which is not really used from test_redraw.
2010-05-11 11:40:29 +02:00
Gerald Pfeifer
1bca01cbc1
comctl32: Remove unused parameter bEnable from LISTVIEW_Enable.
2010-05-11 11:09:51 +02:00
Gerald Pfeifer
0453154d99
comctl32: Remove unused parameter fwKeys from LISTVIEW_MouseHover.
2010-05-11 11:09:46 +02:00
Michael Stefaniuc
a712a29201
comctl32: Update some ImageList comments.
2010-05-11 11:06:16 +02:00
Alexandre Julliard
8ea1f3385a
comctl32: Apply the imagelist mask when alpha blending.
2010-05-10 18:20:20 +02:00
Gerald Pfeifer
3ff0890c11
comctl32/tests: Add tests for the return values of TreeView_SelectItem in test_select.
2010-05-10 10:11:52 +02:00
Nikolay Sivov
5eedf51df6
comctl32/rebar: Try to center child rectangle only if cyChild height is not zero.
2010-05-06 14:21:05 +02:00
Huw Davies
1af1784430
comctl32: Silence a few compiler warnings.
2010-05-05 17:59:41 +02:00
Sven Baars
fbd8722856
comctl32: Fix Dutch translation.
2010-05-05 17:49:04 +02:00
Alexandre Julliard
599531b7d9
comctl32: Add support for alpha blending in ImageList_DrawIndirect.
2010-05-05 12:47:24 +02:00
Gerald Pfeifer
34f9b1bc63
comctl32: Remove variable scrollRange which is not really used from PAGER_NCCalcSize.
2010-05-05 10:51:54 +02:00
Gerald Pfeifer
b021128c4b
comctl32/tests: Remove variables cx and cy which are not really used from test_approximate_viewrect.
2010-05-03 16:47:30 +02:00
Gerald Pfeifer
a2edb3c55c
comctl32/tests: Remove variable hwndheader which is not really used from test_items.
2010-05-03 15:42:41 +02:00
Gerald Pfeifer
44f1fbced4
comctl32: Remove variable old_focused which is not really used from MONTHCAL_Mouse.
2010-05-03 15:40:30 +02:00
Nikolay Sivov
d57247ce39
comctl32/listview: Rework item selection with letter keys, fix some glitches.
2010-04-27 15:44:34 -05:00
Gerald Pfeifer
414b506909
comctl32: Remove variable iRet which is not really used from test_EnumMRUList.
2010-04-26 06:59:47 -05:00
Gerald Pfeifer
8101a13eaf
comctl32: Remove variable old which is not really used from DATETIME_LButtonDown.
2010-04-26 06:59:37 -05:00
Nikolay Sivov
379cf46873
comctl32/listview: Don't change Z-order of edit window while resizing edit box.
2010-04-25 19:22:18 -05:00
Nikolay Sivov
1ccbadcf23
comctl32/listview: Remove forward declaration and unused parameter from edit box creation helper.
2010-04-25 07:34:49 -05:00
Nikolay Sivov
dd3fc17884
comctl32/listview: Add callback subitem on column insertion.
2010-04-22 18:11:42 +02:00
Alexandre Julliard
5d6e052926
comctl32: Fix handling of bitmap header size for V4/V5 bitmaps.
2010-04-21 14:56:37 +02:00
Nikolay Sivov
7d846eb19f
comctl32/listview: Properly handle subitem hittesting outside of horizontal columns bounds.
2010-04-21 11:57:32 +02:00
Gerald Pfeifer
aa745feddc
comctl32: Remove unused scrollInfo from LISTVIEW_MouseWheel.
2010-04-20 16:22:23 +02:00
Nikolay Sivov
7371d0d2fc
comctl32/listview: Exit early on LVM_CREATEDRAGIMAGE if null pointer passed for a point.
2010-04-20 16:21:37 +02:00
Dmitry Timoshkov
93437fc963
comctl32: Do not use width of the passed to ImageList_Add bitmap as an icon width.
2010-04-07 13:51:45 +02:00
Mikhail Maroukhine
6443d87543
comctl32: Fix compiler warnings.
2010-03-29 12:10:00 +02:00
Mikhail Maroukhine
3cad4a1d16
comctl32: Fix incorrect const type casting.
2010-03-29 12:09:28 +02:00
Mikhail Maroukhine
bd6f218165
comctl32: Fix compiler warnings with flag -Wcast-qual.
2010-03-26 10:32:33 +01:00
Michael Stefaniuc
0c2ec54535
comctl32/tests: Use the SendMessage instead of ListView_Scroll.
2010-03-26 10:29:52 +01:00
Mikhail Maroukhine
ad68792a14
comctl32/tests: Remove superfluous casts.
2010-03-25 09:45:06 +01:00
Francois Gouget
2659ac14f8
comctl32/tests: fix an ok() call's trailing '\n'.
2010-03-22 10:48:30 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Jeff Latimer
4f20455e4c
comctl32: cchTextMax needs to be set for LVS_OWNERDATA as it uses LVN_GETDISPINFO notifications.
2010-03-15 15:13:54 +01:00
Nikolay Sivov
b1b54ae39f
comctl32/datetime: Use user locale for format.
2010-03-15 14:18:06 +01:00
Dylan Smith
7617cc4bcc
comctl32/tests: Added scrolled listview test for LVM_GETSUBITEMRECT.
2010-03-03 11:52:28 +01:00
Dylan Smith
a7053ecc4c
comctl32/listview: Scrolling affects subitem rect.
2010-03-03 11:52:21 +01:00
Dylan Smith
3952da836a
comctl32/tests: Add NULL terminator to unicode string constant.
2010-03-03 11:52:07 +01:00
Nikolay Sivov
006362567b
comctl32/toolbar: Fix possible null pointer dereference.
2010-03-02 11:12:05 +01:00
Reece Dunn
78ce24d632
comctl32/mru: In EnumMRUListA, ensure that the string is NULL terminated and the correct size is returned.
2010-02-26 13:02:33 +01:00
Alexandre Julliard
2432b0f6b9
comctl32/tests: Fix broken check of the ok() macro return value.
...
Spotted by Yann Droneaud.
2010-02-24 16:04:18 +01:00
Dmitry Timoshkov
27e9b5bdb4
comctl32: Initialize item.mask before sending HDM_GETITEM message.
2010-02-22 12:08:33 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Dmitry Timoshkov
c1fd55d6c9
comctl32: Listview should accept both unicode and ansi notifications.
...
Listview receives notifications not only from built-in header control,
but also from custom or subclassed application controls, there is no
need to assert(0) on application input, printing a FIXME is the maximum
we can do on an unknown input.
2010-02-18 15:01:01 +01:00
Nikolay Sivov
70890031a3
comctl32/rebar: Don't try to access band data before it's needed.
2010-02-12 11:54:17 +01:00
Nikolay Sivov
057267d85e
comctl32/listview: Revert item width calculation to fix performance issues.
2010-02-08 17:49:47 +01:00
Nikolay Sivov
8c16c4030b
comctl32/updown: Use set acceleration value while processing keyboard keypresses.
2010-02-04 17:27:37 +01:00
Alexandre Julliard
9e47c59427
comctl32: Actually grow the array in DPA_Grow.
2010-01-29 13:30:00 +01:00
Michael Stefaniuc
223603cc1c
comctl32: Use IS_INTRESOURCE instead of HIWORD to check a resource.
2010-01-26 12:13:51 +01:00
Peter Dons Tychsen
a3528a7642
comctl32: Handle WM_NOTIFY correctly when the parent returns zero.
2010-01-22 13:09:01 +01:00
Jason Edmeades
81d8135424
comctl32/listview: Issue LVM_DELETEALLITEMS from WM_DESTROY.
2010-01-14 10:22:23 -06:00
Paul Vriens
9cf1af7cac
comctl32: Fix size parameter for memset (Coccinelle).
2010-01-11 11:34:18 -06:00
Marcin Baczyński
9e951e8d14
comctl32: Remove superfluous void* cast.
2010-01-07 17:59:57 +01:00
Nikolay Sivov
6ca7654ec7
comctl32/listview: Fix memory leak on subrange deletion.
2010-01-07 09:26:00 +01:00
Nikolay Sivov
acec38873f
comctl32/comboex: Fix a leak for text string stored for edit item.
2010-01-04 11:42:34 +01:00
André Hentschel
9d9c4061f9
comctl32: Improve German translation.
2010-01-04 11:41:28 +01:00
Gerald Pfeifer
8b73b131de
comctl32: Remove obsolete comment on RB_SETPALETTE from REBAR_WindowProc().
2009-12-28 14:22:28 +01:00
Michael Stefaniuc
9c15472a3b
comctl32: The return value of notify_with_scroll() is never used.
...
So don't bother returning something from that function.
2009-12-28 12:27:15 +01:00
Michael Stefaniuc
9dd502a332
comctl32: Remove some explicit LPARAM/WPARAM casts.
2009-12-28 12:27:14 +01:00
Michael Stefaniuc
92e4e63353
comctl32/tests: Remove some superfluous casts around SendMessage().
2009-12-28 12:27:14 +01:00
Nikolay Sivov
f897a91247
comctl32/updown: Fix formatting for hex mode.
2009-12-28 12:27:14 +01:00
Nikolay Sivov
46194d39f6
comctl32/rebar: Check for null handles before invalidation.
...
This prevents all windows invalidation.
2009-12-28 12:27:14 +01:00
Nikolay Sivov
2e1aa43ab1
comctl32/tests: Skip test on <5.8x systems.
2009-12-28 11:55:39 +01:00
Nikolay Sivov
02c06f0d66
comctl32/rebar: Avoid empty band range when changing layout.
2009-12-24 12:15:41 +01:00
Nikolay Sivov
6398448974
comctl32/comboex: Move debugging traces that require additional code into TRACE_ON() condition.
2009-12-24 12:15:41 +01:00
Nikolay Sivov
253edf0fbb
comctl32/comboex: Get rid of useless helper.
2009-12-24 12:15:41 +01:00
Nikolay Sivov
7d748b6ba0
comctl32/comboex: Don't invalidate all windows if Edit box isn't set up.
2009-12-24 12:15:41 +01:00
Nikolay Sivov
7deb277900
comctl32/comboex: Fix silly typo in CBEM_SETITEM handler (lParam wasn't set).
2009-12-24 12:15:41 +01:00
Nikolay Sivov
96d965f295
comctl32/comboex: Add test for internally sent Edit messages, remove corresponding comments.
2009-12-24 12:15:41 +01:00
Nikolay Sivov
ecc89bf6ef
comctl32/comboex: Use subclass chain for internally used controls.
2009-12-24 12:15:41 +01:00
Nikolay Sivov
7fa3778d8c
comctl32/rebar: Fix default just inserted band colors.
2009-12-23 14:27:30 +01:00
Nikolay Sivov
80ed866ff4
comctl32/tests: Explicitly create rebar for each test, cleanup main function a bit.
2009-12-23 14:27:30 +01:00
Nikolay Sivov
9ef90f480a
comctl32/updown: Don't change control z-order, this breaks auto buddy binding.
2009-12-23 14:27:30 +01:00
Nikolay Sivov
750ce6be35
comctl32/updown: Don't update buddy text if it's the same.
2009-12-23 14:27:30 +01:00
Paul Vriens
f0a35db253
comctl32/tests: Fix a test failure on older comctl32.
2009-12-22 15:40:00 +01:00
Nikolay Sivov
6cc141ff59
comctl32/updown: Simplify buddy subclassing using SetWindowSubclass chain.
2009-12-22 13:48:26 +01:00
Nikolay Sivov
705aee525a
comctl32/tests: Use win_skip() while skipping subclass tests.
2009-12-22 13:48:25 +01:00
Nikolay Sivov
48d42d4a93
comctl32/tests: Some tests for buddy procedure subclassing.
2009-12-22 13:48:25 +01:00
Nikolay Sivov
8fc96f20a3
comctl32/tests: Add ability to create any number of edit buddies.
2009-12-22 13:48:25 +01:00
Jason Edmeades
64bd51b1d3
comctl32/toolbar: Improve fixme message conditions.
2009-12-22 13:48:24 +01:00
Michael Stefaniuc
93d45253cd
comctl32/tests: Don't cast NULL to an integer type.
2009-12-21 15:01:24 +01:00
Nikolay Sivov
48efba00b6
comctl32/rebar: Don't read outside of bands array on dragging.
2009-12-21 15:01:24 +01:00
Nikolay Sivov
07fc19bbe3
comctl32/rebar: Collapse some parameter checks and winproc entries.
2009-12-21 15:01:24 +01:00
Nikolay Sivov
b6abcb2f86
comctl32/rebar: Move parameter cast to winproc.
2009-12-21 15:01:24 +01:00
Nikolay Sivov
1e74d5992c
comctl32/rebar: Use DPA to manage bands data.
2009-12-21 15:01:24 +01:00
Alexandre Julliard
6fd93a6c7e
comctl32: Use the module instance instead of that of the owner window for the toolbar configuration dialog.
2009-12-21 11:20:19 +01:00
Paul Vriens
fb1fada93a
comctl32/tests: Fix some test failures on older comctl32.
2009-12-15 11:44:56 +01:00
Nikolay Sivov
e81f2642f1
comctl32/treeview: Implement NM_SETCURSOR notification.
2009-12-14 12:04:05 +01:00
Nikolay Sivov
49dabfe31d
comctl32/treeview: Draw +/- signs with text color, not the lines' one.
...
+/- aren't affected by customdraw settings, only per control
set colors used.
2009-12-14 12:04:05 +01:00
Nikolay Sivov
b65a7a0052
comctl32/treeview: Fix default colors set on creation.
2009-12-14 12:04:05 +01:00
Nikolay Sivov
28d5410596
comctl32/treeview: Fix mouse tracking request code.
...
After query current tracking state passed parameters could be overwritten,
similar fix for Listview was recently committed.
2009-12-14 12:04:05 +01:00
Paul Vriens
1d0e02b63e
comctl32/tests: Fix a test failure on older comctl32.
2009-12-10 16:53:32 +01:00
Nikolay Sivov
83f2135e0d
comctl32/tests: Get rid of static handles, split tests finally.
2009-12-10 11:56:43 +01:00
Nikolay Sivov
6823e0f3ec
comctl32/treeview: Remove some forward declarations.
2009-12-10 11:56:35 +01:00
Nikolay Sivov
e3c34f2d29
comctl32/treeview: Use additional helper for item invalidation.
2009-12-10 11:56:23 +01:00
Kirill K. Smirnov
dc45e2c513
comctl32/treeview: Avoid a NULL pointer dereference.
2009-12-09 14:54:01 +01:00
Nikolay Sivov
c2a7535e9d
comctl32/listview: Update item width every time new item is inserted.
...
This prevents retaining previously stored width and unexpected item
displaying collapsing with ending ellipsis.
2009-12-09 14:25:21 +01:00
Nikolay Sivov
7d6412c82d
comctl32/datetime: Free internal data completely on control destruction.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
bd8fc9c474
comctl32/tests: Don't forget to free array after tests.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
0f003ef48d
comctl32/tests: Free imagelist after use.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
6d989feff9
comctl32/treeview: Free items pointer array and root item on control destruction.
...
Two issues here: item pointers array wasn't freed, root item data wasn't freed.
Found by Valgrind.
2009-12-07 14:18:26 +01:00
Nikolay Sivov
eaee84f4db
comctl32/updown: Set width to default value on creation.
2009-12-03 14:02:54 +01:00
Nikolay Sivov
b2d89f4823
comctl32/updown: Specify all styles explicitly in tests.
2009-12-03 14:02:54 +01:00
Ilya Shpigor
fa92edfa48
comctl32: Implementation the WM_GETTEXT processing of datetime control.
2009-12-02 16:08:45 +01:00
Ilya Shpigor
e4e55ed8b4
comctl32: Test the WM_GETTEXT processing of datetime control.
2009-12-01 15:10:37 +01:00
Nikolay Sivov
1804941797
comctl32/treeview: Simplify WM_CHAR handler.
2009-12-01 13:14:11 +01:00
Nikolay Sivov
277c5139d2
comctl32/treeview: Clean up winproc a bit, move parameter check to handlers.
2009-12-01 13:14:06 +01:00
Michael Stefaniuc
4376ccf3fc
comctl32: Use FAILED instead of !SUCCEEDED.
2009-12-01 13:04:36 +01:00
Nikolay Sivov
d2e169fadd
comctl32/header: Avoid uninitialized memory passed to HDM_INSERTITEM, some fields are always copied.
2009-11-30 12:56:53 +01:00
Nikolay Sivov
1e1c1310f5
comctl32/listview: Get rid of duplicated helper in tests.
2009-11-30 12:56:47 +01:00
Nikolay Sivov
78e7b3cf9c
comctl32/listview: New hover value should be passed using LPARAM.
2009-11-30 12:56:30 +01:00
Nikolay Sivov
ea058d22ba
comctl32/listview: Add NM_HOVER notification.
2009-11-30 12:56:21 +01:00
Nikolay Sivov
5f191553e8
comctl32/listview: Make mouse hover work.
...
Event data was overwritten by TME_QUERY response.
2009-11-30 12:56:05 +01:00
Nikolay Sivov
8eb9e7ebd5
comctl32/listview: Draw LVIS_CUT items with white foreground color.
2009-11-30 12:55:50 +01:00
Nikolay Sivov
999810566b
comctl32/listview: Implement LVS_EX_HEADERINALLVIEWS.
2009-11-30 12:55:43 +01:00
Nikolay Sivov
dcd54f08fc
comctl32/listview: Get rid of helper used once.
2009-11-30 12:55:23 +01:00
Nikolay Sivov
a729e040e6
comctl32/listview: Further winproc simplification.
2009-11-30 12:55:12 +01:00
Nikolay Sivov
60f0f4e8ca
comctl32/listview: Call default procedure directly from handlers if such forwarding needed.
2009-11-30 12:55:00 +01:00
Nikolay Sivov
8d43bdd2ee
comctl32/listview: Remove parameter check from winproc for LVM_SETITEMPOSITION32.
2009-11-30 12:54:37 +01:00
Nikolay Sivov
62c610df3c
comctl32/listview: Collapse some handlers call in winproc.
2009-11-30 12:54:01 +01:00
Nikolay Sivov
fc43895f49
comctl32/listview: Default column width in LVS_LIST to better value.
2009-11-30 12:53:40 +01:00
Sergey Khodych
fa7c2b5c5f
comctl32/toolbar: Use proper button index when freeing a string in TOOLBAR_DeleteButton.
2009-11-23 13:09:25 +01:00
Nikolay Sivov
850ea2a711
comctl32/listview: Add support for LVFI_SUBSTRING.
2009-11-23 10:38:13 +01:00
Nikolay Sivov
b7b7b7113e
comctl32/listview: Fix find using partial string logic.
2009-11-23 10:38:00 +01:00
Nikolay Sivov
90c4abe86f
comctl32/listview: Add LVSIL_GROUPHEADER definition.
2009-11-23 10:37:44 +01:00
Nikolay Sivov
79c55c5dd1
comctl32/listview: Group control data members, there's no reasonable structure here.
2009-11-23 10:37:23 +01:00
Nikolay Sivov
899a53eda5
comctl32/listview: Send LVN_ENDLABELEDIT in any case, but with null text if it's the same.
2009-11-23 10:37:03 +01:00
Nikolay Sivov
f5f0763827
comctl32/listview: Don't forward WM_COMMAND (EN_KILLFOCUS) from Edit to parent window.
2009-11-23 10:36:51 +01:00
Nikolay Sivov
c39268967d
comctl32/listview: Do nothing on LVM_CANCELEDITLABEL if there's no label.
2009-11-23 10:36:41 +01:00
Nikolay Sivov
9cec74f300
comctl32/tab: Reset current selection on negative focus value.
2009-11-20 14:48:40 +01:00
Nikolay Sivov
33a1e827a7
comctl32/tab: Fix selection change when selected item is deleted.
2009-11-20 14:48:35 +01:00
Nikolay Sivov
336a68be54
comctl32/tab: Split tests to several functions not to depend from each other.
2009-11-20 14:48:31 +01:00
Nikolay Sivov
3371ba9f73
comctl32/tab: Fix reading out of array bounds on TCM_SETCURSEL.
2009-11-20 14:48:27 +01:00
Nikolay Sivov
c044fa8a59
comctl32/monthcal: Don't pass uninitialized data to MCM_SETTODAY, test isn't about this.
2009-11-19 16:16:52 +01:00
Nikolay Sivov
b0861921b2
comctl32/listview: Compare item text on insert depending on A/W message.
2009-11-19 14:24:31 +01:00
Paul Vriens
9e73769112
comctl32/tests: Fix some test failures on comctl32 4.70.
2009-11-19 12:29:30 +01:00
Owen Rudge
482c454e50
comctl32/tests: Fix imagelist v6 test failures on XP.
2009-11-19 11:48:51 +01:00
Owen Rudge
5ce3af5b37
comctl32/tests: Use SHIL_SYSSMALL instead of LARGE, and compare with system metrics.
...
This patch fixes a test failure if a user has a non-standard icon size
set. Windows 7, for instance, offers more variation than previous
versions of Windows in icon scaling. We should get the system icon
metric and compare our icon size against that.
2009-11-19 11:48:38 +01:00
Owen Rudge
459361d4d6
comctl32/tests: Use defined flags instead of magic numbers in v6 tests.
2009-11-17 15:14:53 +01:00
Owen Rudge
9db87f13d3
shell32: Implement SHGetImageList and remove todo_wine from imagelist tests.
2009-11-17 15:14:53 +01:00
Owen Rudge
c0a6c5cd3f
comctl32/tests: Add hotspot/drag test for IImageList.
2009-11-17 15:14:53 +01:00
Owen Rudge
341e6ed533
comctl32: Implement imagelist drag functions, GetOverlayImage.
2009-11-17 15:14:53 +01:00
Owen Rudge
2e9a6e96e3
comctl32: Implement GetImageRect, Get/SetIconSize, Get/SetBkColor.
2009-11-17 15:14:53 +01:00
Owen Rudge
9adc1b8fd6
comctl32/tests: Add test of IImageList_Merge function.
2009-11-17 15:14:53 +01:00
Nikolay Sivov
7caa61fde6
comctl32/imagelist: Make ImageList_Destroy just decrease refcount. Move actual destruction to ::Release.
2009-11-16 15:02:02 +01:00
Nikolay Sivov
4afc54540d
comctl32/imagelist: Use defined flags instead of magic numbers in tests.
2009-11-16 15:01:34 +01:00
Nikolay Sivov
3e20458aca
comctl32/imagelist: Get rid of magic field, use vtable pointer instead. Keep original layout.
2009-11-16 15:01:27 +01:00
Anders Jonsson
c00b759415
comctl32: Fix typos.
2009-11-16 13:47:55 +01:00
Owen Rudge
76c7f28050
comctl32: Implement Copy, Merge and Clone methods in IImageList.
2009-11-16 13:30:01 +01:00
Owen Rudge
b37009ee80
comctl32/tests: Add further tests for IImageList.
2009-11-16 13:29:09 +01:00
Owen Rudge
8a4a761683
comctl32: Implement SetOverlayImage, Replace, AddMasked, Draw, Remove, GetImageInfo.
2009-11-16 13:29:01 +01:00
Owen Rudge
a07c922fa3
comctl32/tests: Add tests for IImageList based on standard imagelist tests.
2009-11-16 13:27:54 +01:00
Owen Rudge
dff6be098e
comctl32: Implement Add, ReplaceIcon, GetImageCount, SetImageCount in IImageList.
2009-11-16 13:27:37 +01:00
Marcus Meissner
c2e0226d2f
comctl32: Removed useless NULL check (Coverity).
2009-11-16 12:43:07 +01:00
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
Nikolay Sivov
480f54b140
comctl32/monthcal: Use true date comparison on multiselection, not only the day is valuable.
2009-10-05 14:58:03 +02:00
Nikolay Sivov
1ebf42751e
comctl32/monthcal: Handle mouse pointer followed focus rectangle more accurately.
2009-10-05 14:57:49 +02:00
Nikolay Sivov
96022da6c8
comctl32/monthcal: Implement MCM_GETMONTHRANGE for GMR_VISIBLE flag, single calendar control only.
2009-10-05 14:57:37 +02:00
Nikolay Sivov
ec3e9308da
comctl32/monthcal: Drop exstyle parameter, it isn't used.
2009-10-05 14:57:26 +02:00
Paul Vriens
a7633d783d
comctl32/tests: Fix some test failures (MCM_GETSELRANGE).
2009-10-05 13:46:00 +02:00
Paul Vriens
0a6c2c86be
comctl32/tests: Fix some test failures (MCM_SETUNICODEFORMAT and MCM_GETUNICODEFORMAT).
2009-10-05 13:46:00 +02:00
Paul Vriens
efaa25fe66
comctl32/tests: Fix some test failures (MCM_SETCURSEL and MCM_GETCURSEL).
2009-10-05 13:46:00 +02:00
Paul Vriens
0d726970c6
comctl32/tests: Fix some test failures (MCM_SETRANGE and MCM_GETRANGE).
2009-10-05 13:46:00 +02:00
Paul Vriens
1dbab05364
comctl32/tests: Fix some test failures on older comctl32 versions.
2009-10-05 13:46:00 +02:00
Austin English
a19754ab66
comctl32: Add missing prototype.
2009-10-05 13:46:00 +02:00
Owen Rudge
b63c1cb219
comctl32: Capture the mouse when performing a listview marquee selection.
2009-10-05 13:22:40 +02:00
Paul Vriens
46bba98bdf
comctl32/tests: Fix some test failures.
2009-10-02 11:51:16 +02:00
Nikolay Sivov
5d530fee54
comctl32/monthcal: Fix parameter validation in MCM_SETMAXSELCOUNT handler.
2009-10-02 11:50:47 +02:00
Nikolay Sivov
3df0823085
comctl32/monthcal: Changing MCS_MULTISELECT isn't allowed after creation, set default value properly.
2009-10-02 11:50:41 +02:00
Nikolay Sivov
eb87332f14
comctl32/monthcal: Move MCN_SELCHANGE/MCN_SELECT notifications to helpers.
2009-10-02 11:50:34 +02:00
Nikolay Sivov
3088bb3129
comctl32/monthcal: No need to redraw if month didn't change after popup menu.
2009-10-02 11:50:26 +02:00
Nikolay Sivov
28ec8565f0
comctl32/monthcal: Don't request locale data when it isn't needed.
2009-10-02 11:50:18 +02:00
Nikolay Sivov
7bd581e62c
comctl32/datetime: Use SDK defined class name instead of another local constant.
2009-10-02 11:50:11 +02:00
Michael Stefaniuc
4ee851452b
comctl32/tests: Silence some Win64 compile warnings.
...
"warning: cast to pointer from integer of different size"
2009-10-02 11:49:38 +02:00
Owen Rudge
69b76a18fb
comctl32: Implement highlighting (marquee) selection support in listview.
2009-10-01 13:51:20 +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
99ded940e1
comctl32/datetime: Some DTM_SETSYSTEMTIME tests.
2009-10-01 11:34:58 +02:00
Nikolay Sivov
aae85b4d68
comctl32/datetime: Separate tests from each other.
2009-10-01 11:34:49 +02:00
Nikolay Sivov
52570539d8
comctl32/monthcal: Respect locale abbreviated day names when calculating control dimensions.
2009-09-30 14:31:58 +02:00
Nikolay Sivov
ad40c15ccc
comctl32/datetime: If we already have a 4 digit year reset it on first char typed.
2009-09-30 14:31:58 +02:00
Nikolay Sivov
916017d420
comctl32/monthcal: Move selection logic to LButton release handler, fix notifications order.
2009-09-30 14:31:58 +02:00
Nikolay Sivov
cc6fca015c
comctl32/monthcal: Make prev/next month day a current selection on LButton release.
2009-09-30 14:31:58 +02:00
Nikolay Sivov
344f07007b
comctl32/monthcal: Fix hittesting for MCHT_CALENDARDATEPREV/MCHT_CALENDARDATENEXT cases.
2009-09-30 14:31:57 +02:00
Ge van Geldorp
6eb6e31e05
comctl32/tests: Fix toolbar test on comctl32 version 4.72.
2009-09-29 16:10:59 +02:00
Nikolay Sivov
c685729b72
comctl32/monthcal: Fix locale dependent test failure.
2009-09-29 14:22:35 +02:00
Nikolay Sivov
484ef1dcbf
comctl32/updown: Fix some test failures on Win95 (comctl32 4.0).
2009-09-29 14:22:35 +02:00
Nikolay Sivov
aadadd04fe
comctl32/monthcal: Control elements should be centered in client area, and left/top aligned if they don't.
2009-09-29 14:22:35 +02:00
Nikolay Sivov
74eca56acb
comctl32/monthcal: Minimal rectangle should be zero based.
2009-09-29 14:22:34 +02:00
Nikolay Sivov
1f41db4c2f
comctl32/monthcal: Use a single calendar for hittesting tests, make point calculation at runtime.
2009-09-29 14:22:34 +02:00
Nikolay Sivov
30010f44d5
comctl32/monthcal: Months popup menu should be placed at current pointer position.
2009-09-29 14:22:34 +02:00
Nikolay Sivov
bce1cebdd4
comctl32/monthcal: Right button should trigger a popup menu on release.
2009-09-29 14:22:34 +02:00
Nikolay Sivov
69080d6d29
comctl32/monthcal: Add parameter validation to MCM_HITTEST handler.
2009-09-28 12:43:57 +02:00
Nikolay Sivov
1224cc461d
comctl32/monthcal: Fix timestamp storing on MCM_SETRANGE/MCM_SETSELRANGE.
2009-09-28 12:43:50 +02:00
Nikolay Sivov
211a55b877
comctl32/monthcal: Prevent configured range exceeding with prev/next buttons.
2009-09-28 12:43:37 +02:00
Nikolay Sivov
7030296ece
comctl32/monthcal: Move MCN_GETDAYSTATE notification to a helper.
2009-09-28 12:43:29 +02:00
Nikolay Sivov
e3a7c6c7e7
comctl32/monthcal: Fix memory leak on MCN_GETDAYSTATE notification.
2009-09-28 12:43:19 +02:00
Nikolay Sivov
818aab58f5
comctl32/monthcal: Properly handle Goto Today popup menu (on RButton).
2009-09-28 12:43:11 +02:00
Nikolay Sivov
a95b63efcc
comctl32/monthcal: Store full date info to current date on todaylink with LButton.
2009-09-28 12:42:59 +02:00
Nikolay Sivov
6a11d779e6
comctl32/monthcal: Gather currently selected year and month into a single structure.
2009-09-28 12:42:52 +02:00
Nikolay Sivov
962339d4d6
comctl32/monthcal: Make year edit box readonly, cleanup LButton handler to be more readable.
2009-09-28 12:42:42 +02:00
Nikolay Sivov
a44f03518e
comctl32/monthcal: Fix some bugs with date range.
2009-09-28 12:42:26 +02:00
Nikolay Sivov
d66dcb4ff8
comctl32/monthcal: Store full date info for selection at creation time.
2009-09-28 12:42:11 +02:00
Nikolay Sivov
0617baf2c3
comctl32/monthcal: Make tests not depend on each other.
2009-09-28 12:41:58 +02:00
Nikolay Sivov
b0d3db5b29
comctl32/monthcal: Copy SYSTEMTIME with a simple assignment.
2009-09-28 12:41:30 +02:00
Alexandre Julliard
d0aaae9987
comctl32/tests: Use UDM_GET/SETPOS instead of UDM_GET/SETPOS32 for compatibility with old versions.
2009-09-25 15:13:55 +02:00
Alexandre Julliard
ae2b8a6e97
comctl32/tests: Fix some rebar tests on older comctl32 versions.
2009-09-25 15:13:25 +02:00
Nikolay Sivov
6bd43fbb49
comctl32/monthcal: Some cleanup to avoid cast in helpers.
2009-09-25 13:16:34 +02:00
Nikolay Sivov
decc86add9
comctl32/monthcal: Don't redraw if date didn't change on MCM_SETTODAY.
2009-09-25 13:16:25 +02:00
Nikolay Sivov
534ea8ab42
comctl32/monthcal: Name MCM_SETMAXSELCOUNT parameter.
2009-09-25 13:16:09 +02:00
Nikolay Sivov
548645d360
comctl32/monthcal: Don't redraw after MCM_SETCURSEL if selection doesn't change.
2009-09-25 13:16:01 +02:00
Nikolay Sivov
c01ab1608c
comct32/monthcal: Invalidate background too on MCM_SETCOLOR with MCSC_BACKGROUND.
2009-09-25 13:15:54 +02:00
Nikolay Sivov
e430838e29
comctl32/monthcal: Use a style we're caching already.
2009-09-24 14:24:13 +02:00
Nikolay Sivov
6fd4ba34a3
comctl32/monthcal: Move helper parameter cast to winproc, remove dead parameter check code.
2009-09-24 14:24:04 +02:00
Nikolay Sivov
d7117d312d
comctl32/listview: Skip icon spacing tests when unsupported.
2009-09-24 14:23:49 +02:00
Nikolay Sivov
5e3c9925f8
comctl32/listview: Skip some header tests on version 4.0 module.
2009-09-24 14:23:42 +02:00
Nikolay Sivov
df3f2a1b13
comctl32/listview: Skip LVS_EX_CHECKBOXES tests when this style is unsupported.
2009-09-23 12:33:32 +02:00
Nikolay Sivov
f684bbaef7
comctl32/updown: Update buddy on base change.
2009-09-22 16:25:29 +02:00
Nikolay Sivov
7ebca40912
comctl32/updown: Additional test for display base.
2009-09-22 16:25:23 +02:00
Nikolay Sivov
4efa9f5e43
comctl32/updown: Fix control behaviour for UDS_SETBUDDYINT style.
2009-09-22 16:25:13 +02:00
Nikolay Sivov
2f9d29b42b
comctl32/updown: Show that UDS_SETBUDDYINT switching doesn't affect behaviour for already created control.
2009-09-22 16:25:02 +02:00
Nikolay Sivov
6be1bade1a
comctl32/updown: Make tests independent, drop unrelated tests.
2009-09-22 16:24:53 +02:00
Nikolay Sivov
963b7b5766
comctl32/updown: Skip thousands separation on hex mode.
2009-09-22 16:24:31 +02:00
Nikolay Sivov
0f670168e4
comctl32/trackbar: Protect from negative tic count in recalculation helper.
...
Fix for regression introduced in 42c83b9dc7
2009-09-18 08:56:09 -05:00
Nikolay Sivov
69bcb112f9
comctl32/dpa: Check for DPA_LoadStream() presence. Merge original test function with save tests.
2009-09-16 15:02:50 -05:00
Nikolay Sivov
d82fb3d308
comctl32/dpa: Fix DPA_Merge() test failures on old 4.7x comctl32.
2009-09-15 16:41:27 -05:00
Nikolay Sivov
28998999d0
comctl32/dpa: Implement DPA_GetSize().
2009-09-15 16:41:27 -05:00
Nikolay Sivov
c1513c6bde
comctl32/dpa: Implement DPA_SaveStream() with tests.
2009-09-15 16:41:27 -05:00
Nikolay Sivov
c8f8e5da11
comctl32/dpa: Fix parameter validation in DPA_LoadStream().
2009-09-15 16:41:27 -05:00
Nikolay Sivov
b07ca01527
comctl32/dpa: Separate tests for parameter validation in DPA_LoadStream().
2009-09-15 16:41:27 -05:00
Nikolay Sivov
3b6ac3000f
include: Move some definitions to public header, use PSDK names.
2009-09-11 12:13:25 +02:00
Nikolay Sivov
7044ac8751
comctl32/dpa: Fix DPA_Merge() for DPAM_INTERSECT option.
2009-09-11 12:11:50 +02:00
Nikolay Sivov
e97fcdd1bb
comctl32/dpa: Some DPA_Merge tests.
2009-09-11 12:11:35 +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
Nikolay Sivov
e7304066d1
comctl32/dpa: Split tests to several functions to avoid undesired dependencies.
2009-09-10 10:51:07 +02:00
Nikolay Sivov
fffb41f6a6
comctl32/header: Add XP SP3 workaround for Header tests. Fix window handle leak.
2009-09-09 13:14:09 +02:00
Nikolay Sivov
cbe960f1e9
comctl32/monthcal: Draw selected day as v6 does. Get rid of ugly selection curve.
2009-09-09 13:13:56 +02:00
Nikolay Sivov
86bd48d512
comctl32/monthcal: Cache window GWL_STYLE.
2009-09-09 13:13:48 +02:00
Alexandre Julliard
b7f2ccb6b4
comctl32: Use explicit prototypes for function pointers.
2009-09-09 13:13:08 +02:00
Nikolay Sivov
52add2a308
comctl32/listview: Add partial support for cxMin width field.
2009-09-08 13:43:20 +02:00
Nikolay Sivov
d9ebf1962c
comctl32/header: Implement HDS_NOSIZING style with tests.
2009-09-08 13:42:55 +02:00
Nikolay Sivov
ecda6af39f
comctl32/listview: Handle LVCFMT_FIXED_WIDTH flag.
2009-09-08 13:42:45 +02:00
Nikolay Sivov
a4c22a142c
comctl32/header: Implement HDF_FIXEDWIDTH format flag.
2009-09-08 13:42:36 +02:00
Nikolay Sivov
5e1f5ebf6c
comctl32/listview: Implement LVS_EX_TRANSPARENTBKGND style.
2009-09-08 13:42:24 +02:00
Nikolay Sivov
77729e23f2
comctl32/trackbar: Drop initial parent creation tests, they are nothing to do with control testing.
2009-09-08 12:11:33 +02:00
Nikolay Sivov
629eb23a11
comctl32/trackbar: TBM_SETTIC processing shouldn't be affected by TBS_AUTOTICKS style.
2009-09-08 12:11:27 +02:00
Nikolay Sivov
5594a5f960
comctl32/trackbar: Default to TBTS_TOP position on creation.
2009-09-08 12:11:19 +02:00
Nikolay Sivov
4845dc36e4
comctl32/trackbar: Reduce parameter count for some helpers.
2009-09-02 15:33:28 +02:00
Nikolay Sivov
6f395805b1
comctl32/trackbar: Cache window style.
2009-09-02 15:33:21 +02:00
Nikolay Sivov
42c83b9dc7
comctl32/trackbar: Fix tic count calculation.
2009-09-02 15:33:10 +02:00
Jan de Mooij
2f8e5da90f
comctl32/propsheet: Update position of hidden buttons too.
2009-09-01 17:37:12 +02:00
Nikolay Sivov
7420c0d0de
comctl32/listview: Call default handler for WM_PAINT disabled by WM_SETREDRAW.
2009-09-01 12:44:03 +02:00
Ge van Geldorp
93140f32a0
comctl32/tests: Adjust message sequences for Win7 (trackbar).
2009-08-31 12:41:20 +02:00
Ge van Geldorp
ae516dbac9
comctl32/tests: Adjust message sequences for Win7 (updown).
2009-08-31 12:19:30 +02:00
Ge van Geldorp
bc76560b56
comctl32/tests: Adjust message sequences for Win7 (monthcal).
2009-08-31 12:19:26 +02:00
Alexandre Julliard
5a0deb25e1
comctl32/tests: Fix status test failures on older Windows versions.
2009-08-29 16:48:56 +02:00
Alexandre Julliard
a561c5d49f
comctl32/tests: Fix some toolbar test failures on older Windows versions.
2009-08-29 16:48:56 +02:00
Juan Lang
390a248e06
comctl32: Return the number of characters copied in WM_GETTEXT even if the buffer is too small.
2009-08-27 11:01:09 +02:00
Alexandre Julliard
6369d7a08b
comctl32/tests: Fix tooltips test failures on older Windows versions.
2009-08-26 13:09:11 +02:00
Alexandre Julliard
454a7fde33
comctl32/tests: Fix tab control test failures on older Windows versions.
2009-08-26 13:09:05 +02:00
Nikolay Sivov
03a3207cc7
comctl32/tests: Move message testing helpers to header.
2009-08-24 15:17:32 +02:00
Akihiro Sagawa
06ad76809b
comctl32: Update Japanese translation.
2009-08-24 15:17:32 +02:00
Francois Gouget
544f882918
comctl32/tests: Add a trailing '\n' to ok() calls.
2009-08-19 12:07:24 +02:00
Alexandre Julliard
d649320045
comctl32/tests: Fix the property sheet tests on older Windows versions.
2009-08-18 14:49:21 +02:00
Alexandre Julliard
576a398338
comctl32/tests: Fix a number of listview message test failures.
2009-08-18 14:49:03 +02:00
Nikolay Sivov
f08747cbfc
comctl32/tab: Init TCITEM fields in TCM_GETITEM when invalid index passed.
2009-08-17 15:53:12 +02:00
Nikolay Sivov
031c497a5a
comctl32/tab: Check destination pointer for NULL in TCM_GETITEM handler.
2009-08-17 15:53:06 +02:00
Andrew Eikum
70f4ce36a0
comctl32/tests: Add tests for wizard dialog navigation.
2009-08-14 13:59:08 +02:00
Andrew Eikum
ac34e22ef3
comctl32: Correctly assign focus and default button in property sheet wizards.
2009-08-14 11:27:55 +02:00
Andrew Eikum
4a14ed43fa
comctl32: Don't pass unrelated control to UnChanged.
2009-08-14 11:27:39 +02:00
Owen Rudge
956a52bd7f
comctl32: Add stubs for image list functions introduced in Vista.
2009-08-13 15:51:16 +02:00
Owen Rudge
1556fbf86c
comctl32/tests: Add basic test for IImageList using SHGetImageList.
2009-08-13 15:51:07 +02:00
Owen Rudge
ce638952af
comctl32/tests: Move v6 test initialisation routines into separate file.
2009-08-13 15:44:37 +02:00
Nikolay Sivov
e8846b7c78
comctl32/listview: Block redrawing entirely after WM_SETREDRAW wParam=FALSE.
2009-08-13 11:44:43 +02:00
Nikolay Sivov
1dfd55ff9a
comctl32/treeview: Fix test failure on Vista.
2009-08-12 17:04:37 +02:00
Nikolay Sivov
4a9a432841
comctl32/treeview: Fix some test failures on XP and higher.
2009-08-12 17:04:37 +02:00