Nikolay Sivov
6e09365501
comctl32/listview: Fix a test failure on 4.7x.
2009-06-22 13:00:02 +02:00
Nikolay Sivov
85224d7f17
comctl32/listview: Implement LVM_MAPIDTOINDEX/LVM_MAPINDEXTOID.
2009-06-22 12:59:50 +02:00
Nikolay Sivov
2286a321c2
comctl32/listview: Basic LVM_MAPINDEXTOID tests.
2009-06-22 12:59:41 +02:00
Nikolay Sivov
9c565342d0
comctl32/listview: Implement LVM_CANCELEDITLABEL with tests.
2009-06-22 12:59:28 +02:00
Nikolay Sivov
7bf031ebc4
comctl32/listview: Add ability to test comctl32 version 6. Add basic LVM_[G,S]ETVIEW test.
2009-06-19 14:54:47 +02:00
Francois Gouget
fb37e89a06
comctl32/tests: Make DummyCompareEx() static.
2009-06-19 13:47:20 +02:00
Nikolay Sivov
c05e6d8f45
comctl32/listview: Fix test crashes on comctl32 <5.80.
2009-06-18 15:17:27 +02:00
Paul Vriens
87366355d2
comctl32/tests: Fix some typos (copy-paste).
2009-06-18 15:17:27 +02:00
Nikolay Sivov
34b802caf0
comctl32/listview: Convert forwarded header notifications to ANSI if NFR_ANSI is current format.
2009-06-16 13:27:12 +02:00
Nikolay Sivov
7f936a0a6e
comctl32/listview: Setting item text to callback stub value already having it raises item-change notifications.
...
Use same new text comparison rules for both items and subitems.
Based on patch by Stefan Stranz.
2009-06-15 13:42:30 +02:00
Nikolay Sivov
f2f444a230
comctl32/listview: Don't use special value (1) for item width to represent both zero and one pixel width.
2009-06-11 11:53:54 +02:00
Nikolay Sivov
abe5dee0bb
comctl32/listview: Implement callback functionality for item indentation.
2009-06-10 11:48:10 +02:00
Nikolay Sivov
5e5a58b138
comctl32/listview: Test for indentation callback.
2009-06-10 11:48:04 +02:00
Nikolay Sivov
f531271d70
comctl32/listview: Fix item count tests to be dpi aware.
2009-06-09 17:01:14 +02:00
Nikolay Sivov
ed250886cc
comctl32/listview: Defaulting to NFR_ANSI on query failure.
2009-06-08 14:30:02 +02:00
Nikolay Sivov
ae0d363043
comctl32/listview: Position edit box after notification.
2009-06-08 14:29:55 +02:00
Nikolay Sivov
c98dc0da71
comctl32/listview: Test showing that Edit box should be positioned after LVN_BEGINLABELEDIT.
2009-06-08 14:29:30 +02:00
Nikolay Sivov
c111500458
comctl32/listview: Edit box should be destroyed on invalid index too (LVM_EDITLABEL).
2009-06-08 14:29:24 +02:00
Alexandre Julliard
84ccadeeee
comctl32/tests: Avoid size_t in traces.
2009-06-05 15:19:57 +02:00
Nikolay Sivov
d5319303f1
comctl32/listview: Partially revert commit 43d982fde6
.
2009-06-05 15:19:57 +02:00
Nikolay Sivov
3e4ba3048a
comctl32/listview: Some tests for LVS_SORT[A,DE]SCENDING, remove these styles from TODOs.
2009-06-04 12:17:12 +02:00
Nikolay Sivov
b13cd52b04
comctl32/listview: Handle EN_KILLFOCUS in WM_COMMAND message handler.
2009-06-03 15:34:31 +02:00
Nikolay Sivov
3ebe2ebb0d
comctl32/listview: EN_KILLFOCUS handling test.
2009-06-03 15:34:31 +02:00
Nikolay Sivov
43d982fde6
comctl32/listview: Block LVM_EDITLABEL when control is unfocused and no label created.
2009-06-02 11:57:21 +02:00
Nikolay Sivov
5e53ddfc6f
comctl32/listview: Some tests for LVM_EDITLABEL.
2009-06-01 16:16:04 +02:00
Nikolay Sivov
551bb4784a
comctl32/listview: Fix item bounds calculation for LVS_REPORT style.
2009-06-01 16:16:04 +02:00
Nikolay Sivov
8cf54c5645
comctl32/listview: Item horizontal position isn't applied for any item bounds on LVS_REPORT.
2009-06-01 16:16:04 +02:00
Nikolay Sivov
3cd15e5db5
comctl32/listview: Don't offset subitem rectangles with item padding returned by LVM_GETSUBITEMRECT.
2009-05-29 13:24:42 +02:00
Nikolay Sivov
6101a48089
comctl32/listview: A bunch of LVM_GETSUBITEMRECT tests.
2009-05-29 13:24:36 +02:00
Alexandre Julliard
448d48c3f4
comctl32/tests: Replace a listview macro by an explicit SendMessage.
2009-05-28 15:24:04 +02:00
Nikolay Sivov
7d32cfef27
comctl32/tooltips: Fix callback tip text retrieval.
2009-05-28 12:42:18 +02:00
Nikolay Sivov
8921b936a8
comctl32/ipaddress: Skip test on Win95 with common controls 4.70.
2009-05-27 15:40:25 +02:00
Nikolay Sivov
1a84ca42b2
comctl32/listview: LVM_GETITEMRECT: don't offset to item position on LVS_REPORT querying LVIR_BOUNDS.
2009-05-27 11:11:13 +02:00
Nikolay Sivov
79ed5e0fac
comctl32/listview: Fix some LVM_GETVIEWRECT test failures on different platforms.
2009-05-27 11:11:05 +02:00
Nikolay Sivov
c5c5bcca90
comctl32/listview: Some LVM_GETITEMRECT tests.
2009-05-27 11:11:00 +02:00
Nikolay Sivov
2a32ce744c
comctl32/listview: Improve item position calculating in LVS_REPORT.
2009-05-26 13:49:31 +02:00
Nikolay Sivov
25c775a036
comctl32/listview: A couple of LVM_GETITEMPOSITION tests.
2009-05-26 13:49:25 +02:00
Nikolay Sivov
6b63fce757
comctl32/listview: LVM_GETVIEWRECT is unsupported on LVS_REPORT style.
2009-05-26 13:49:17 +02:00
Nikolay Sivov
e7a07aa3fb
comctl32/listview: Basic LVM_GETVIEWRECT tests.
2009-05-26 13:49:11 +02:00
Nikolay Sivov
713898df0c
comctl32/mru: Fix test failures on Win9x.
2009-05-26 13:49:05 +02:00
Nikolay Sivov
5d631361c9
comctl32/mru: Check for NULL handles in MRU calls.
2009-05-25 14:26:25 +02:00
Nikolay Sivov
4db999ebdf
comctl32/treeview: Use message return values in TreeView tests.
2009-05-25 11:37:20 +02:00
Nikolay Sivov
ce12717c9e
comctl32/listview: Fix returning LVHT_ONITEMSTATEICON flag on hittesting.
2009-05-25 11:37:15 +02:00
Nikolay Sivov
691aa6e267
comctl32/tests: A bunch of ListView hittest tests.
2009-05-22 11:09:58 +02:00
Nikolay Sivov
d17afea70f
comctl32/tests: A basic test for ListView WM_SETREDRAW.
2009-05-21 16:17:51 +02:00
Nikolay Sivov
45b8e6a4f9
comctl32/tests: Don't use magic numbers for ListView exstyles.
2009-05-18 13:38:40 +02:00
Francois Gouget
ce5bb8b92c
comctl32/tests: Make flush_sequence() static.
2009-05-15 10:30:44 +02:00
Nikolay Sivov
a1cac2c314
comctl32/listview: Don't check for state changes we are not aware to store (with some tests).
2009-05-13 12:03:56 +02:00
Nikolay Sivov
bad1dda9ad
comctl32/listview: A couple of tests for changing item attributes.
2009-05-12 11:21:35 +02:00
Nikolay Sivov
4a5e23a2f9
comctl32/listview: Select all items with LVM_SETITEMSTATE is blocked in LVS_SINGLESEL.
2009-05-11 14:51:43 +02:00
Nikolay Sivov
4bc8e87ab6
comctl32/listview: Add tests for LVS_NOSORTHEADER switchover.
2009-05-07 14:44:22 +02:00
Nikolay Sivov
50c3b530f7
comctl32/listview: Forward WM_ERASEBKGND to parent on CLR_NONE.
2009-05-04 13:23:31 +02:00
Nikolay Sivov
1fac98d3c1
comctl32/listview: Test WM_ERASEBKGND forwarding to parent on CL_NONE background.
2009-05-04 13:23:24 +02:00
Nikolay Sivov
59b08cc1e3
comctl32/listview: Additional test for LVS_EX_HEADERDRAGDROP.
2009-05-04 13:23:11 +02:00
Nikolay Sivov
2829c5fd1e
comctl32/listview: Fix LVM_INSERTITEM handling on LVS_SORTxxx styles.
2009-05-04 13:23:03 +02:00
Nikolay Sivov
9f6bd09ec0
comctl32/listview: A couple of LVM_GETITEM tests with incomplete masks.
2009-04-29 14:23:52 +02:00
Nikolay Sivov
cd8b91f1bb
comctl32/listview: Handle LVIF_NORECOMPUTE in LVM_GETITEM[A,W].
2009-04-29 14:23:42 +02:00
Nikolay Sivov
43dcbdeb70
comctl32/listview: Some tests for LVIF_NORECOMPUTE flag.
2009-04-29 14:23:33 +02:00
Nikolay Sivov
8b26cce8f8
comctl32/listview: Fix LVM_GETCOLUMNORDERARRAY passing message to header.
2009-04-24 15:50:39 +02:00
Nikolay Sivov
3845ed795f
comctl32/tests: Tests for LVM_GETCOLUMNORDERARRAY: it actually uses HDM_GETORDERARRAY.
2009-04-24 15:50:32 +02:00
Nikolay Sivov
d30df7de06
comctl32/tests: Existing items aren't resorted after LVS_SORTASCENDING added.
2009-04-23 18:14:26 +02:00
Nikolay Sivov
946936c274
comctl32/tests: Remove tests failing on most platforms.
2009-04-23 14:22:07 +02:00
Nikolay Sivov
457c983ee3
comctl32/listview: Partial fix for LVM_GETSUBITEMRECT for item == -1.
2009-04-22 13:14:48 +02:00
Nikolay Sivov
09d6a6c8c9
comctl32/listview: Additional tests for LVM_GETSUBITEMRECT.
2009-04-22 13:14:30 +02:00
Igor Tarasov
3e235cc363
comctl32: TOOLBAR_SetImageList should recalculate toolbar only if it is necessary.
2009-04-22 12:56:19 +02:00
Nikolay Sivov
9cc12d2879
comctl32/listview: Header should be created when LVS_EX_HEADERDRAGDROP set.
2009-04-21 15:31:00 +02:00
Nikolay Sivov
949e9043b9
comctl32/listview: LVM_SETITEM is unsupported on LVS_OWNERDATA.
2009-04-21 15:30:47 +02:00
Florian Köberle
5a6f956187
comctl32: Fix expanding of invisible sub trees.
2009-04-21 15:30:37 +02:00
Florian Köberle
123dc34aec
comctl32/tests: Test expanding of a invisible sub tree.
2009-04-21 15:30:30 +02:00
Nikolay Sivov
3ce8e20896
comctl32/listview: Some tests for LVS_SINGLESEL switchover.
2009-04-20 15:25:03 +02:00
Nikolay Sivov
0588ba7fef
comctl32/listview: Fix a regression caused by 9c1a0e468f
.
2009-04-20 15:24:58 +02:00
Nikolay Sivov
42bef95cbc
comctl32/listview: Switching to/from LVS_OWNERDATA isn't allowed after creation.
2009-04-20 15:24:48 +02:00
Nikolay Sivov
e014484a43
comctl32/listview: Fix a regression caused by 59148d0bb5
.
2009-04-14 14:49:43 -05:00
Nikolay Sivov
9c1a0e468f
comctl32/listview: Fix selection handling in LVM_SORTITEMS (with some tests).
2009-04-14 14:49:22 -05:00
Nikolay Sivov
13dfb9b3a6
comctl32/listview: State mask should be ignored on LVM_INSERTITEM.
2009-04-10 10:23:44 +02:00
Nikolay Sivov
59148d0bb5
comctl32/listview: Implement delayed header creation for ListView control.
2009-04-08 11:39:25 +02:00
Nikolay Sivov
6b6d18d766
comctl32: Additional tests for ListView header creation.
2009-04-02 16:28:42 +02:00
Michael Stefaniuc
1513dd2073
comctl32/tests: Use LONG instead of long.
2009-04-02 16:28:30 +02:00
Nikolay Sivov
276c7a3bc6
comctl32: listview: Some tests showed delayed header creation in ListView control.
2009-04-01 17:10:21 +02:00
Nikolay Sivov
0e5dac618f
comctl32/tab: Selected item should have TCIS_BUTTONPRESSED state.
2009-03-26 11:56:09 +01:00
Nikolay Sivov
db60f69cba
comctl32/tab: Handle state mask in TCM_[G,S]ETITEM.
2009-03-26 11:56:05 +01:00
Paul Vriens
7e7e27f7ff
comctl32/tests: Fix a crash on W2K and below.
2009-03-25 11:06:19 +01:00
Nikolay Sivov
bdd1206ca5
comctl32/listview: Some tests for LVM_GETSUBITEMRECT.
2009-03-24 12:43:05 +01:00
Nikolay Sivov
85c03a5a31
comctl32/ipaddress: Store current IP address text as a window text for IP Address control.
2009-03-24 12:42:56 +01:00
Nikolay Sivov
b7d7d58978
comctl32/trackbar: Fix reverting to default value for TBM_SETPAGESIZE with lParam = -1.
2009-03-24 12:42:19 +01:00
Nikolay Sivov
92b0ad98e1
comctl32/tab: Implement TCM_[G,S]ETEXTENDEDSTYLE and TCS_EX_FLATSEPARATORS style.
2009-03-24 12:40:15 +01:00
Nikolay Sivov
4585148547
comctl32/tab: Implement TCM_REMOVEIMAGE.
2009-03-24 12:38:37 +01:00
Francois Gouget
96848a0605
Remove spaces before '\n's.
2009-03-09 12:05:58 +01:00
Nikolay Sivov
74e9b904b9
comctl32: Replace nonprintable characters with spaces on SB_SETTEXT.
2009-03-06 16:36:57 +01:00
Alexandre Julliard
74271fc4cf
comctl32/tests: Disable a test that crashes on NT4.
2009-03-06 12:38:34 +01:00
Alexandre Julliard
ff28ec0ddd
comctl32/tests: Fix the monthcal window creation message sequence.
2009-03-06 12:38:28 +01:00
Alexandre Julliard
f493122879
comctl32/tests: Set the listview image list after WM_CREATE has been processed.
2009-03-05 23:19:08 +01:00
Nikolay Sivov
f35960200a
comctl32: Correctly report systemcolor use for Treeview background.
2009-03-03 13:24:08 +01:00
Francois Gouget
e7800f2a52
comctl32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-26 12:18:51 +01:00
Rein Klazes
da257e3301
comctl32: Fix for owner draw statusbar.
...
Ownerdraw status bar should update on receiveing a SB_SETTEXT message,
even if the 'text' parameter has not changed. Fix with conformance
test.
2009-02-16 16:01:23 +01:00
Detlef Riekenberg
bea3bff2bb
comctl32/tests: The status control use a different formula in XP and up for the height.
2009-02-13 13:00:34 +01:00
Michael Stefaniuc
da6d7920de
comctl32: Remove superfluous pointer casts.
2009-02-13 13:00:25 +01:00
Francois Gouget
f250f4fa04
Assorted spelling fixes.
2009-02-11 15:56:02 +01:00
Michael Stefaniuc
fc46bb1479
comctl32/tests: Remove superfluous pointer casts.
2009-02-06 14:54:01 +01:00
Detlef Riekenberg
f78f4d89b7
comctl32/tests: Make the test dpi and theme aware by using SM_CYSIZE.
2009-02-04 14:27:25 +01:00
Mikołaj Zalewski
aa7a0b85b0
comctl32: toolbar: Only changing TBSTYLE_EX_MIXEDBUTTONS should cause a recalc.
2009-02-02 15:48:26 +01:00
Mikołaj Zalewski
574c0dcc32
comctl32: toolbar: Unlike in listview, TB_SETEXTENDEDSTYLE takes the actual style, not a mask.
2009-02-02 15:48:26 +01:00
Mikołaj Zalewski
5de172af78
comctl32: toolbar: TB_SETBUTTONINFO should do a relayout instead of a recalc.
2009-02-02 15:48:26 +01:00
Mikołaj Zalewski
ca9f7d3140
comctl32: toolbar: Move common TB_ADDBUTTONS and TB_INSERTBUTTONS code into a helper function, makes TB_INSERTBUTTON with a text perform a recalc (with testcase).
2009-02-02 15:48:26 +01:00
Alasdair Sinclair
4f0e6885d0
comctl32/tests: Fix missing void in empty parameter list.
2009-01-26 15:07:26 +01:00
Francois Gouget
02ace3613c
comctl32/tests: Add a trailing '\n' to an ok() call.
2009-01-22 12:04:01 +01:00
André Hentschel
2ef02afe95
comctl32: Fix callback in treeview.
2009-01-21 10:25:06 +01:00
Mikołaj Zalewski
390e1dfa28
comctl32: treeview: Add a test showing that a pszText of NULL is equivalent to LPSTR_CALLBACK.
2009-01-20 12:30:42 +01:00
André Hentschel
eda4872c45
comctl32/tests: Fix wrong comment-headline in toolbar.c.
2009-01-14 12:20:11 +01:00
Alexandre Julliard
76a2fe5cf7
comctl32/tests: Fix lparam checks in the treeview test for Win64.
2009-01-10 21:05:32 +01:00
Ge van Geldorp
80d4d54c59
comctl32/tests: Fix title bar tests for non-English locales.
2009-01-05 15:08:35 +01:00
Michael Stefaniuc
ac37f1b7fb
comctl32/tests: Do not cast the IDC_* defines to a LPSTR.
2009-01-05 12:35:06 +01:00
Alexandre Julliard
a52977dc4a
comctl32/tests: Fix pointer casting warnings on 64-bit.
2009-01-03 20:13:20 +01:00
Paul Vriens
1a853abecb
comctl32/tests: Destroy the window after the tests.
2008-12-16 12:51:26 +01:00
Alexandre Julliard
acdcb19cbb
comctl32/tests: Avoid handle casts in traces.
2008-12-04 12:12:29 +01:00
Alexandre Julliard
c03917c173
Define _WIN32_WINNT before including any headers.
2008-12-04 12:10:16 +01:00
Aric Stewart
110a6048af
comctl32/tab: Return default tab width in TCM_SETMINTABWIDTH if lParam is a negative value.
2008-12-03 11:37:58 +01:00
Vincent Povirk
00e2d897c2
comctl32: Do not repaint on TBM_SETPOS if position is unchanged.
2008-11-17 13:54:52 +01:00
Detlef Riekenberg
f0d0ac75dc
comctl32/tests: Make the header test dpi aware.
2008-11-14 12:08:42 +01:00
Lei Zhang
87ca1b9416
comctl32: Check for NULL input in TAB_AdjustRect.
2008-11-11 11:40:46 +01:00
Sergey Khodych
30a6f54dc9
comctl32/tests: Fix typo in toolbar todo test.
2008-11-07 11:17:56 +01:00
Michael Stefaniuc
c46a88a3c9
comctl32: Remove superfluous casts that crept in as well as some older ones.
2008-11-07 11:00:16 +01:00
Sergey Khodych
7f25cd993c
comctl32: toolbar: Use a cx field for buttons in TOOLBAR_WrapToolbar.
2008-11-06 11:56:03 +01:00
Sergey Khodych
65e9a6e02e
comctl32: toolbar: Improve text layout in TBSTYLE_LIST toolbars.
2008-11-06 11:55:56 +01:00
Sergey Khodych
1232b08449
comctl32: toolbar: Calculate a correct size for empty buttons with the BTNS_AUTOSIZE style.
2008-11-06 11:55:51 +01:00
Michael Stefaniuc
62e17fa8c4
comctl32: Do not cast zero.
2008-11-04 11:26:22 +01:00
Michael Stefaniuc
06c4de0461
comctl32/tests: Use MAKELPARAM instead of "(LPARAM) MAKELONG".
2008-11-04 11:26:01 +01:00
Michael Stefaniuc
d4b8948ce3
comctl32: Do not cast NULL.
2008-11-03 13:41:58 +01:00
Clinton Stimpson
9f1ea3f15b
comctl32: Fix getting of min size of monthcal when changing font.
2008-10-27 11:41:56 +01:00
Michael Stefaniuc
092b892f54
comctl32: HGDIOBJ is interchangeable with other handle types so don't cast.
2008-10-27 11:29:46 +01:00
Paul Vriens
aad6125340
comctl32/tests: Use win_skip instead of trace.
2008-10-21 11:43:41 +02:00
Paul Vriens
1b494e7f31
comctl32/tests: Use win_skip instead of trace.
2008-10-21 11:43:36 +02:00
Detlef Riekenberg
2910b90c70
comctl32/tests: Fix tests to not depend on 96 dpi, make it pass in Wine.
2008-10-14 14:02:28 +02:00
Paul Vriens
d0dfd9d784
comctl32/tests: Don't crash on some win9x boxes.
2008-10-02 10:41:26 -05:00
James Hawkins
23d899d8ab
comctl32: Only log system messages.
2008-10-01 11:41:59 -05:00
James Hawkins
3e8a63d5fa
comctl32: Fix several test failures in win2k.
2008-10-01 11:41:54 -05:00
James Hawkins
e1111a5bef
comctl32: Only log system messages.
2008-10-01 11:41:45 -05:00
James Hawkins
2f8830d55b
comctl32: Fix a test on locales where default first day of week is not the max value.
2008-09-29 17:25:30 -05:00
Francois Gouget
1177bbaa9e
comctl32/tests: Don't crash if adding the tooltip failed.
2008-09-29 17:24:55 -05:00
Francois Gouget
17d798eae9
comctl32/tests: FreeMRUList(NULL) crashes on Win98 OSR0.
2008-09-29 17:23:48 -05:00
James Hawkins
56260ec782
comctl32: Add a missing newline.
2008-09-24 13:11:55 +02:00
James Hawkins
921f67a607
comctl32: Fix a failing test in win95.
2008-09-24 13:11:51 +02:00
James Hawkins
0f38a6c881
comctl32: Fix several failing tests in win95.
2008-09-24 13:11:30 +02:00
Alexandre Julliard
8552b50640
comctl32/tests: Fix a couple of message test failures.
2008-09-22 12:15:11 +02:00
Jan de Mooij
403221c228
comctl32/treeview: Fix pszText NULL pointer dereference.
2008-09-18 13:26:19 +02:00
Nicolas Le Cam
47bcdc32a4
comctl32/tests: Fix a failing test for some platforms.
2008-09-16 11:28:58 +02:00
Nicolas Le Cam
af78a7bfe4
comctl32: Fix a failing test for some platforms.
2008-09-15 13:38:58 +02:00
James Hawkins
72638e0ea4
comctl32: Fix the remaining broken tests in win95.
2008-09-15 11:29:39 +02:00
James Hawkins
3b5c2cba44
comctl32: Fix several failing tests in win95.
2008-09-15 11:29:33 +02:00
James Hawkins
cc0ea85c34
comctl32: Store the previous timeout value to test with.
2008-09-09 11:46:17 +02:00
James Hawkins
a061f642d6
comctl32: Fix two test failures in win2000.
2008-09-08 12:47:23 +02:00
James Hawkins
e7d9185419
comctl32: Trace the first day of the week.
2008-09-08 12:47:23 +02:00
James Hawkins
66e4be152a
comctl32: Fix a failing test for some platforms.
2008-09-08 12:47:23 +02:00
James Hawkins
3e2ac662f1
comctl32: Fix a typo.
2008-09-08 12:47:22 +02:00
James Hawkins
106791c610
comctl32: Fix several test failures in win98.
2008-09-08 12:47:22 +02:00
James Hawkins
66483daf34
comctl32: Fix a failing test in win98.
2008-09-08 12:47:22 +02:00
James Hawkins
dcc230c567
comctl32: Fix a couple failing tests in win98.
2008-09-08 12:47:22 +02:00
James Hawkins
d54963e512
comctl32: Allow a little slop in the status bar metric tests.
2008-09-08 12:47:22 +02:00
James Hawkins
f5e298d2db
comctl32: Fix several failing tests in win98.
2008-09-08 12:47:22 +02:00
James Hawkins
5362bfa776
comctl32: Fix two failing tests in win98.
2008-09-08 12:47:22 +02:00
James Hawkins
99a5afa616
comctl32: Fix a failing test in win9x.
2008-09-03 14:21:42 +02:00
James Hawkins
a9086abac6
comctl32: Fix a failing test in win98.
2008-09-03 14:21:42 +02:00
James Hawkins
24bd8c0faf
comctl32: Fix a failing test in win2000.
2008-08-29 13:26:07 +02:00
James Hawkins
fd16a61128
comctl32: Trace the message sequences.
2008-08-29 13:26:02 +02:00
James Hawkins
72f55763f6
comctl32: Fix a test failure in win98.
2008-08-29 13:25:57 +02:00
James Hawkins
eb86c5bb12
comctl32: Fix several test failures in win98.
2008-08-29 13:24:58 +02:00
James Hawkins
f126c765c7
comctl32: Fix a failing test in XP.
2008-08-29 13:21:01 +02:00
James Hawkins
1258e4d8ff
comctl32: Fix a few failing tests in win2000.
2008-08-29 13:20:53 +02:00
Paul Vriens
2d18e5aac4
comctl32/tests: Don't assert on not implemented function.
2008-08-27 13:21:21 +02:00
Lei Zhang
fc6553973f
comctl32: Add a test for TTM_GETTEXT.
2008-08-18 17:15:56 +02:00
Paul Vriens
47edb3cbab
comctl32/tests: Run tests again on Win95.
2008-07-30 13:50:39 +02:00
Nicolas Le Cam
5cf418f521
comctl32/tests: Fix a test failure in multiple platforms.
2008-07-23 13:54:00 +02:00
Mikołaj Zalewski
72d4318c8c
comctl32: statusbar: Test and fix SB_SETMINHEIGHT.
...
The minimal height should be saved so that it survives WM_SIZE or WM_SETFONT.
2008-07-23 11:21:18 +02:00
Mikołaj Zalewski
a289bab122
comctl32: toolbar: TB_SETBITMAPSIZE should not change a coordinate when passed -1 (with testcase).
2008-07-23 11:20:58 +02:00
Mikołaj Zalewski
f240b8f49e
comctl32: statusbar: Change the height expression to one that seems to be the same as in Windows.
2008-07-22 13:24:43 +02:00
Reece Dunn
a7794bcb50
comctl32: Fixed the MRU tests on Vista.
2008-07-21 14:45:40 +02:00
Mikołaj Zalewski
9aee00e8fa
comctl32: statusbar: WM_SETFONT should change the bar height.
2008-07-17 12:24:52 +02:00
Mikołaj Zalewski
1e43f207cd
comctl32: statusbar: WM_CREATE should not resize the window - it should happen in WM_SIZE.
2008-07-16 19:56:24 +02:00
James Hawkins
83004cdd1e
comctl32: Explicity set the number of tics before testing tic placement.
2008-07-14 11:51:07 +02:00
Vincent Povirk
2893294f4b
comctl32: Disable owner of modal property sheets before creating the dialog.
2008-07-09 12:40:08 +02:00
Vincent Povirk
57b25bcf48
comctl32: Add test for disabling owner of modal property sheets.
2008-07-09 12:40:03 +02:00
James Hawkins
ba1e75d9f6
comctl32: Properly set and store the default icon spacing.
2008-07-08 10:48:21 +02:00
Dylan Smith
798afcf902
comctl32: Fix for ComboBoxEx bug caused by focus change.
2008-07-04 19:43:14 +02:00
Dylan Smith
da0175ba71
comctl32: Added tests to show a ComboBoxEx bug caused by incorrect focus change.
...
Certain WM_LBUTTONDOWN & WM_LBUTTONUP events should change focus to the
ComboBox (a child of ComboBoxEx), but instead the focus was set to the
Edit control.
2008-07-04 19:43:03 +02:00
James Hawkins
02c3bb7637
comctl32: Clean up and fix a few failing tests in win9x.
2008-06-30 15:07:05 +02:00
James Hawkins
e95bb17b4a
comctl32: Remove an assumption that causes test failures if default icon spacing is not 43x43.
2008-06-30 12:47:42 +02:00
Francois Gouget
7857cf3dc7
A couple of spelling fixes.
2008-06-18 16:48:29 +02:00
Tomasz Jezierski - Tefnet
4e224e73c4
comctl32/tests: Fix for setting wrong initial position in listbox.
2008-05-27 19:34:54 +02:00
Tomasz Jezierski
1f051b8a7d
comctl32: Conformance test for multiple selection in listbox.
2008-05-21 14:26:44 +02:00
Guy Albertelli
09cb415109
listview: Return correct value from WM_NOTIFYFORMAT with test.
2008-05-08 11:11:03 +02:00
Francois Gouget
42a61d7ed7
Assorted spelling fixes.
2008-05-06 16:10:20 +02:00
Guy Albertelli
7fb21244d9
listview: Correct return value from LVM_GETORIGIN including tests for this.
...
Tests to validate return value of the LVM_GETORIGIN message and fix our
implementation.
2008-04-28 14:22:39 +02:00
Jason Edmeades
f54570fdbd
comctl32: Add basic custom draw support for tooltips.
2008-04-03 11:39:52 +02:00
Lei Zhang
fe966335fd
comctl32: Implement listview checkbox toggle.
2008-03-20 14:27:35 +01:00
Lei Zhang
778c04db07
comctl32: Add listview checkbox toggle test.
2008-03-20 14:27:35 +01:00
Alexandre Julliard
9dd61548bb
comctl32/tests: Avoid size_t printf format warnings.
2008-03-12 18:14:22 +01:00
Lei Zhang
7f5c97693e
comctl32: Fix TB_GETSTRING return values.
2008-03-12 12:00:14 +01:00
Lei Zhang
375f60b07a
comctl32: Add tests for TB_GETSTRING, fix NULL pointer access.
2008-03-12 12:00:08 +01:00
Michael Stefaniuc
3ca73da928
comctl32/tests: Fix a variable type in monthcal.c. Removes 19 -Wsign-compare warnings.
2008-03-12 11:59:19 +01:00
Paul Vriens
ef5a4a447c
comctl32/tests: Free the library after use.
2008-03-10 19:12:54 +01:00
Paul Vriens
6c63ebefc3
comctl32/tests: Don't use FreeLibrary with GetModuleHandle.
2008-03-10 12:54:00 +01:00
Francois Gouget
891e3d17fd
comctl32/tests: Don't use 0xaa to avoid any confusion when running with +heap.
2008-03-05 12:19:17 +01:00
Mikołaj Zalewski
4d0bad870c
comctl32: rebar: To check if an image is present iImage should be compared to -1 (with testcase).
2008-02-28 10:45:30 +01:00
Mikołaj Zalewski
ecde1c3cc7
comctl32: rebar: Image height should be taken into account when computing the band height.
2008-02-28 10:45:20 +01:00
Mikołaj Zalewski
41025d56e3
comctl32: datetime: Support literals in apostrophes.
2008-02-25 13:27:00 +01:00
Reece H. Dunn
743a63abc9
comctl32: Vista sends an unidentified message when destroying datetime and monthcal windows.
2008-02-07 12:56:14 +01:00
Francois Gouget
e5b4c0f84b
comctl32/tests: Call InitCommonControlsEx() if available, fall back to InitCommonControls() for the older controls, and skip the tests altogether for the newer ones.
2008-02-05 13:26:48 +01:00
Austin English
c2a7914d1c
comctl32: Spelling fixes.
2008-01-24 11:43:02 +01:00
Francois Gouget
44b52b128c
Assorted spelling fixes.
2008-01-16 12:48:29 +01:00
Francois Gouget
b7ae831f00
comctl32/tests: Avoid SHDeleteKeyA() because it does not exist on Windows 95.
2007-12-10 12:06:40 +01:00
Francois Gouget
7a5497b5c0
comctl32/tests: InitCommonControlsEx() is missing on Windows 95 so call InitCommonControls() instead.
2007-12-10 12:06:16 +01:00
Francois Gouget
86b3624158
comtcl32/tests: Dynamically load ImageList_SetImageCount() because it is missing on Windows 95.
2007-12-10 12:06:13 +01:00
Alexandre Julliard
c0b12351e0
Avoid size_t types in traces.
2007-12-07 18:49:18 +01:00
Peter Oberndorfer
429d0d3eb3
comctl32: EnumMRUListA/W fix getting list size by negative item pos.
2007-12-06 13:43:53 +01:00
Peter Oberndorfer
dac63ff680
comctl32: Add EnumMRUList tests.
2007-12-06 13:43:49 +01:00
Alexandre Julliard
a1b02c2cec
comctl32/tests: Flush pending events before progress repaint tests.
2007-11-06 14:39:41 +01:00
Gerald Pfeifer
aac8194c74
comctl32: Make parameters of expect_band_content() match the corresponding types of REBARBANDINFO and fix one format string.
2007-11-02 12:21:15 +01:00
Lei Zhang
f2519fdcda
comctl32: Set tab focus correctly.
2007-10-30 11:31:38 +01:00
Lei Zhang
73213d1444
comctl32: Add tab delete item / get focus test.
2007-10-30 11:31:29 +01:00
Lei Zhang
31a09c3b7b
comctl32: Add tab insert item / get focus test.
2007-10-30 11:31:19 +01:00
Lei Zhang
c5a17f98df
comctl32: Move tab test's createParentWindow() into START_TEST().
2007-10-30 11:31:11 +01:00
Lei Zhang
734600e272
comctl32: Monthcal today link test.
2007-10-16 11:00:47 +02:00
Lei Zhang
3accf13ec0
comctl32: Simplify monthcal test.
2007-10-16 11:00:38 +02:00
Gerald Pfeifer
2cb5298a4c
comctl32/tests: Avoid remove redundant invocation of MAKEINRESOURCEA for IDC_ARROW and IDC_IBEAM.
2007-10-15 17:50:35 +02:00
Francois Gouget
c76362afdd
comctl32/tests: Fix the control's size reporting in an error message.
2007-10-11 19:52:40 +02:00
Lei Zhang
4b8ca91d03
comctl32: Fix monthcal hit tests.
2007-10-09 17:52:46 +02:00
Huw Davies
e31d8d8f5b
comctl32/tests: Don't assume that the default font height is 16 pixels.
2007-10-09 12:35:15 +02:00
Huw Davies
75c2fb668d
comctl32/tests: Skip some font dependent tests if we don't have System or Tahoma installed.
2007-10-09 12:34:36 +02:00
Alexandre Julliard
ed147bb102
comctl32/tests: Avoid destroying a DPA twice.
2007-10-01 18:03:51 +02:00
Alexandre Julliard
72fc6cdf27
comctl32/tests: We can now store binary files in the repository.
2007-09-17 16:11:26 +02:00
Aric Stewart
3822aa4b63
comctl32: TCM_SETCURSEL also updates the focus item.
2007-09-10 15:29:46 +02:00
Francois Gouget
2993785f3a
Assorted non-ANSI function declaration fixes (missing void).
2007-08-30 11:57:18 +02:00
Jason Edmeades
881c204c02
comctl32: toolbar: Implemented SetRows.
2007-08-28 12:26:13 +02:00
Jason Edmeades
f6631265f3
comctl32: Listview fails to add a column if mask=0.
2007-08-17 12:01:37 +02:00
Mikołaj Zalewski
31be5005c6
comctl32: toolbar: Test and fix invalid indexes passed in TB_ISBUTTON*.
2007-07-20 11:34:34 +02:00
Mikołaj Zalewski
5507a073c5
comctl32: toolbar: We should send TBN_GETDISPINFOW even for ANSI controls (with testcase).
2007-07-11 11:59:33 +02:00
Mikołaj Zalewski
e66523e19b
comctl32: toolbar: The iImage in TBN_GETDISPINFO should be initialized to -1.
2007-07-11 11:53:33 +02:00
Michael Stefaniuc
ff01912a48
comctl32: Replace malloc() with HeapAlloc().
2007-06-29 12:32:51 +02:00
Francois Gouget
96c337f0a1
Assorted spelling fixes.
2007-06-07 19:24:32 +02:00
Francois Gouget
c9533adc52
comctl32/tests: The PSDK does not define ListView_InsertItemA() so don't use it.
2007-05-29 12:13:38 +02:00
Dmitry Timoshkov
3c9e7a7f33
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
2007-05-25 20:37:56 +02:00
Dmitry Timoshkov
6055d04f07
comctl32/tests: Fix some problems revealed by compilation in 64-bit mode.
2007-05-24 11:36:23 +02:00
Mikołaj Zalewski
7b8241b1ee
comctl32: toolbar: TB_SETIMAGELIST should try to preserve button width.
2007-05-16 11:55:38 +02:00
Mikołaj Zalewski
81cf09c6da
comctl32: treeview: Treeviews shouldn't be sending NM_TOOLTIPSCREATED (with testcase).
2007-05-07 14:26:22 +02:00
Mikołaj Zalewski
61a86024cc
comctl32: treeview: Make the focus test pass under Windows XP.
2007-05-07 14:26:03 +02:00
Alexandre Julliard
69a88a9d40
Fix minor differences in the formatting of the license notices.
2007-05-04 12:08:15 +02:00
Dmitry Timoshkov
19377e4ed6
comctl32: Remove a stray back slash.
2007-05-02 14:58:54 +02:00
Dmitry Timoshkov
83f51d08df
comctl32: Add more image list tests, fix one problem found.
2007-04-24 11:53:59 +02:00
Mikołaj Zalewski
ca7b0c86f8
comctl32: toolbar: In CreateToolbarEx the default bitmap size is also 16x16.
2007-04-24 10:19:23 +02:00
Mikołaj Zalewski
3d7a65355e
comctl32: toolbar: Don't execute TB_GETBUTTONINFO if cbSize is invalid.
2007-04-24 10:19:04 +02:00
Dmitry Timoshkov
8c5cf0cbae
comctl32: Add an image list storage test, make it pass under Wine.
2007-04-23 13:58:15 +02:00
Lei Zhang
bf7b0b89fe
comctl32: monthcal: GetMonthRange Tests.
2007-04-13 11:42:52 +02:00
Lei Zhang
b47a756ac7
comctl32: More monthcal hit tests.
2007-04-12 16:18:18 +02:00
Aric Stewart
5688ffb7ab
comctl32: Propsheet exception fix.
...
Do not attempt to draw a page during WM_PAINT if there is no active page.
2007-04-04 16:16:53 +02:00
Francois Gouget
0081b430e1
Assorted spelling and English fixes.
2007-04-03 11:23:12 +02:00
Francois Gouget
d9e8a0f63e
Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll.
2007-03-28 12:36:13 +02:00
Mikołaj Zalewski
7bf7cdd1a9
comctl32: toolbar: TB_HIDEBUTTON and TB_MOVEBUTTON shouldn't force a recalc.
2007-03-28 12:05:15 +02:00
Mikołaj Zalewski
307f39c0d5
comctl32: toolbar: We shouldn't try to resize standard bitmaps.
2007-03-21 11:59:31 +01:00
Mikołaj Zalewski
e3b7c3045a
comctl32: toolbar: Test standard buttons size.
2007-03-21 11:59:21 +01:00
Mikołaj Zalewski
d4a67c4382
comctl32: toolbar: The default button size is 16x16.
2007-03-21 11:59:11 +01:00
Kanit Therdsteerasukdi
2a79d96278
comctl32: datetime: Reject invalid flags in DTM_SETSYSTEMTIME.
...
Reject invalid flags in DTM_SETSYSTEMTIME i.e. when the flag is neither
GDT_VALID nor GDT_NONE when the style is set to DTS_SHOWNONE. Corresponding
setters and message sequence tests were also added.
2007-03-19 13:08:36 +01:00
Mikołaj Zalewski
c9ca25aa1d
comctl32: CreateToolbarEx should send TB_SETBITMAPSIZE twice.
2007-03-19 13:08:23 +01:00
Hagop Hagopian
637a6116e2
comctl32: tab: Minor bug fixes in the curSel and curFocus getters and setters.
2007-03-19 12:16:41 +01:00
Hagop Hagopian
62d3be772d
comctl32: tab: Added message sequence tests for the tab control.
2007-03-19 12:16:23 +01:00
Keith Stevens
3a58b51aa3
comctl32: trackbar: Return the correct number of tics for TBM_GETNUMTICS.
2007-03-16 11:54:27 +01:00
Keith Stevens
de608991ea
comctl32: trackbar: Correctly set lSetMin and lSelMax.
...
Modify the behavior when the messages TBM_SETSEL, TBM_SETSELSTART, and
TBM_SETSELEND are sent and TBS_ENABLESELRANGE is not set. When the
style TBS_ENABLESELRANGE is not set, Windows observed behavior is to
set the Selection Start and End values to 0, rather than leave them
unchanged.
2007-03-16 11:53:56 +01:00
Farshad Agah
86ea6b5820
comctl32: monthcal: Correct the return value in MCM_SETFIRSTDAYOFWEEK.
2007-03-16 11:53:22 +01:00
Farshad Agah
4c73411047
comctl32: monthcal message sequence test cases.
2007-03-16 11:21:23 +01:00
Keith Stevens
06c91e925f
comctl32/tests: trackbar: Test message sequences.
2007-03-16 11:19:44 +01:00
Keith Stevens
ab2eb1f42b
comctl32/tests: trackbar: Reorganize the getter and setter tests into functions.
2007-03-16 11:19:11 +01:00
Kanit Therdsteerasukdi
fed00cb82e
comctl32: datetime: Return 1 in DTM_SETFORMAT when successful.
2007-03-16 11:18:30 +01:00
Leslie Choong
851197f80c
comctl32: updown: Added message sequencing tests.
2007-03-14 18:59:31 +01:00
Leslie Choong
4e337ad8d5
comctl32: updown: Expect macro and spelling errors.
2007-03-14 18:59:20 +01:00
Kanit Therdsteerasukdi
fe5471e717
comctl32: datetime: Reject out of range dates in DTM_SETSYSTEMTIME.
2007-03-14 13:14:02 +01:00
Francois Gouget
b8f517b063
comctl32/tests: Add missing '\n's in ok() calls.
2007-03-14 12:10:44 +01:00
George Gov
aa685beb07
comctl32: Add some listview message tests.
2007-03-13 21:32:36 +01:00
Stefan Huehner
4d1d01f266
Mark several functions as static.
2007-03-13 13:35:12 +01:00
Shanren Zhou
df578b8469
comctl32: Added header message sequence test cases.
2007-03-13 13:22:03 +01:00
Shanren Zhou
92f230c2fb
comctl32: Header message sequence test cases.
...
Added separate parent and child header controls for each test case and
fixed a typo ('Data Modified' should be 'Date Modified').
2007-03-13 13:21:38 +01:00
Hagop Hagopian
89c7907025
comctl32: Adding getter-setter tests for tab control.
2007-03-12 13:19:00 +01:00
Stefan Huehner
51a7ca3440
Change some functions arguments from () -> (void).
2007-03-12 12:25:31 +01:00
Felix Nawothnig
5cdcfbfaa0
comctl32: Fix a typo.
2007-03-12 12:03:32 +01:00
Felix Nawothnig
7b99592975
comctl32: Fix my last patch.
...
My last patch was wrong and caused some nasty regressions. Mapping
CLR_DEFAULT to the global defaults seem to be what native does.
2007-03-12 12:03:25 +01:00
Chris Peterson
ee2804fda5
comctl32: treeview: Message sequencing tests.
2007-03-12 12:00:51 +01:00
Felix Nawothnig
08670ee725
comctl32: Remove clrTextBkDefault member from LISTVIEW_INFO and fix (clrTextBk == CLR_DEFAULT) handling for custom drawing.
2007-03-09 21:18:10 +01:00
Felix Nawothnig
8677069c26
comctl32: Add a failing custom draw related test.
2007-03-09 21:17:55 +01:00
Farshad Agah
d0f75b5993
comctl32: monthcal: Reject out of range dates in MCM_SETCURSEL.
2007-03-09 11:36:53 +01:00
Kanit Therdsteerasukdi
3cdf24394f
comctl32: datetime: Tests for events for date and time picker added.
2007-03-05 12:07:25 +01:00
Mikołaj Zalewski
beff84c1d3
comctl32: header tests: Support different window border width.
2007-03-01 20:42:49 +01:00
Mikołaj Zalewski
6156154409
comctl32: rebar tests: Support different window border width.
2007-03-01 20:42:49 +01:00
Felix Nawothnig
9badfb50cf
comctl32: Update header window in listview WM_PAINT handler.
2007-02-28 21:04:15 +01:00
Felix Nawothnig
f671aed503
comctl32: Add listview WM_PAINT message sequence tests.
2007-02-28 21:04:05 +01:00
James Hawkins
2b5f79c9a8
comctl32: Add message ids to allow multi-window test sequences.
2007-02-28 21:03:46 +01:00
Alex Arazi
489db09da8
comctl32: More status bar tests.
2007-02-26 17:59:40 +01:00
Mikołaj Zalewski
a02a680b72
comctl32: rebar: Test the RBN_HEIGHTCHANGE notify and do some fixes.
2007-02-26 14:07:40 +01:00
Mikołaj Zalewski
f3ebf1c7f4
comctl32: listview: Set the style in WM_CREATE.
2007-02-26 13:58:31 +01:00
Lei Zhang
b29c99c59a
comctl32: Move up-down msg seq test functions into msg.c.
2007-02-21 17:45:38 +01:00
Francois Gouget
93494f2ac0
Assorted spelling fixes.
2007-02-20 20:30:51 +01: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
f0a7a74666
comctl32: rebar: Rewrite the layout code.
2007-02-20 11:40:19 +01:00
Marcus Meissner
abe1ede385
comctl32: Fixed new header test.
2007-02-19 12:37:19 +01:00
Rob Shearman
4ef2442608
comctl32: Don't free user32 objects with a gdi32 function in imagelist test.
...
Use DestroyIcon for releasing the resources associated with created icons.
2007-02-19 12:33:19 +01:00
Kanit Therdsteerasukdi
9928c494f9
comctl32: datetime: Initial tests for date and time picker.
2007-02-19 12:32:58 +01:00
Chris Peterson
e0983d4c20
comctl32: treeview: New conformance tests for TreeView controls.
2007-02-16 13:19:24 +01:00
Farshad Agah
5d7fe33ef9
comctl32: Added monthcal test cases.
2007-02-16 12:35:32 +01:00
Francois Gouget
f9975b004d
comctl32/tests: Add missing '\n's to ok() calls.
2007-02-16 12:35:15 +01:00
Keith Stevens
ec57871f4f
comctl32: Add trackbar tests.
2007-02-14 21:38:32 +01:00
Shanren Zhou
613998d4f6
comctl32: Add header tests.
2007-02-14 14:42:40 +01:00
Felix Nawothnig
43c0ce1638
comctl32: Add tests for Alloc() and friends.
2007-02-14 12:22:09 +01:00
Felix Nawothnig
feb4abf118
comctl32: Rename 'string' test to 'misc'.
2007-02-14 12:21:57 +01:00
Leslie Choong
b3c0a29061
comctl32: updown: Getter and setter tests for updown control.
2007-02-13 17:16:31 +01:00
Duane Clark
5bc1a8de87
treeview: Scrolling does not cause label being edited to lose focus.
2007-02-12 12:39:34 +01:00
Mikołaj Zalewski
3ea059c9d7
comctl32: listview: Create the LISTVIEW_INFO in WM_NCCREATE.
2007-02-08 13:01:18 +01:00
Paul Vriens
aaa1c802a4
comctl32/tests: Fix typo (Coverity).
2007-02-07 22:06:00 +01:00
Mikołaj Zalewski
8909419b55
comctl32: rebar: Add some tests for rebar and change the way the header size is fixed.
2007-02-05 12:27:45 +01:00
Lei Zhang
4de56b1b4d
comctl32: Fix the updown control test to use the optional flag.
2007-01-23 11:38:10 +01:00
Paul Vriens
81804538cf
comctl32/tests: Cast-qual warning fixes.
2007-01-23 11:26:44 +01:00
Dmitry Timoshkov
105cf6b282
comctl32: Fix the updown control test to pass under XP.
2007-01-22 12:02:32 +01:00
Mikołaj Zalewski
292cb4d2ac
comctl32: toolbar: Fix the TB_SETBITMAPSIZE for width or height zero (with testcase).
2007-01-16 16:54:25 +01:00
James Hawkins
74ada83c60
comctl32: Rewrite the up-down control tests to add message checking.
2007-01-10 12:00:15 +01:00
Felix Nawothnig
2eb171c1f5
treeview: Initialize iImage and iSelectedImage with zero.
2007-01-09 12:04:40 +01:00
Duane Clark
2575c37b22
comctl32: listview: Allow LVIF_STATE flag in subitems.
2007-01-08 21:00:59 +01:00
Lei Zhang
3a463f039b
comctl32: Add initial tests for the status bar control.
2007-01-03 11:25:31 +01:00
Frank Richter
8002c49ede
comctl32: listview: Fix getting user params and subitems.
...
When querying a listview subitem for the user param, the main item's
user param is returned. Also, when a subitem is custom-drawn, the main
item's user param is passed along.
2006-12-29 20:55:04 +01:00
Francois Gouget
15a7bcb364
comctl32/tests: Replace some '#if 0's with 'if (0)'s.
...
Fix the code so it compiles without warnings.
2006-12-14 20:24:36 +01:00
Marcus Meissner
4d52a421d7
Made some functions static.
2006-12-12 12:10:57 +01:00
Francois Gouget
fb957ec589
comctl32/tests: Fix the CheckDPA() tests.
...
There is no guarantee that the compiler will compute the function arguments in left-to-right order.
2006-11-24 11:49:07 +01:00
Francois Gouget
9d2f40cf33
comctl32/tests: Don't use the NONAMELESS* macros in the tests.
2006-11-24 11:48:42 +01:00
Francois Gouget
1ccf944900
Assorted spelling fixes.
2006-11-13 13:01:53 +01:00
Paul Vriens
6e9f335656
comctl32: Load function pointers by ordinal.
2006-11-08 20:12:38 +01:00
Paul Vriens
2384756b71
comctl32: Beginning of some string related tests.
2006-11-08 11:20:34 +01:00
Francois Gouget
88f3cb2a7d
comctl32: Add missing '\n' to ok() call.
2006-11-07 15:24:36 +01:00
Mikołaj Zalewski
258008012c
comctl32: toolbar: Add buttons size tests.
2006-11-02 12:31:32 +01:00
Michael Stefaniuc
962e97dbf3
comctl32/tests: Specify type of function argument and remove unused arguments.
2006-10-24 11:33:28 +02:00
Rob Shearman
c932790dcf
comctl32: Fix imagelist leak in tests.
2006-10-23 15:18:03 +02:00
Mikołaj Zalewski
39c4bbe56a
comctl32: toolbar: Fix the tests and handling of TB_SETHOTITEM on a disabled button.
2006-10-19 14:00:55 +02:00
Mikołaj Zalewski
4c5de64014
comctl32: header: Test and improve the custom draw and owner draw code.
2006-10-16 11:30:34 +02:00
Mikołaj Zalewski
76b162067f
comctl32: toolbar: Test and improve TB_SETHOTITEM.
2006-10-14 20:43:03 +02:00
Michael Ploujnikov
a348e0936a
comctl32/tests: Win64 printf format warning fixes.
2006-10-13 15:46:06 +02:00
Mikołaj Zalewski
c95aa8228a
comctl32: toolbar: Passing a string pointer in TB_INSERTBUTTON shouldn't change the strings table (with test case).
2006-10-12 12:55:56 +02:00
Mikołaj Zalewski
241956101e
comctl32: toolbar: Fix the TB_ADDSTRING from resources for a NUL delimiter.
2006-10-09 20:53:15 +02:00
Francois Gouget
20eb2f9998
comctl32: Fix LVM_GETITEM/LVIF_STATE so it only returns the bits it
...
has been asked for, and sets all the others to zero (with conformance
test).
2006-10-03 20:18:57 +02:00
Francois Gouget
68e84a7a53
Add missing '\n's to ok() calls.
2006-09-29 17:53:39 +02:00
Francois Gouget
222c167969
Assorted spelling fixes.
2006-09-29 16:28:30 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Mikołaj Zalewski
5db5744c5b
comctl32: toolbar: Test and fix TB_ADDSTRING from resource.
2006-09-27 20:21:00 +02:00
Mikołaj Zalewski
c77890d4f3
comctl32: toolbar: Resize the imagelist icons after a TB_SETBITMAPSIZE.
2006-09-26 11:37:47 +02:00
Mikołaj Zalewski
2fa45673f8
comctl32: toolbar: Fix the return code of TB_ADDBITMAP.
2006-09-21 17:42:44 +02:00
Mikołaj Zalewski
9e390091db
comctl32: toolbar: Fix IDB_STD_VIEW_* icons count (with testcase).
2006-09-21 17:41:36 +02:00
Mikołaj Zalewski
d457b37d82
comctl32: toolbar: Use correctly wParam in TB_ADDBITMAP.
2006-09-21 17:41:20 +02:00
Mikołaj Zalewski
89f537dd57
comctl32: imagelist: SetImageCount can be used to decrease image count (with testcase).
2006-09-21 17:41:05 +02:00
Mikołaj Zalewski
80664defa8
comctl32: toolbar: Add some tests for TB_ADDBITMAP.
2006-09-21 17:40:45 +02:00
Mikołaj Zalewski
8ab78e18c6
comctl32: header: Test the header order-management code and fix some bugs.
2006-09-20 11:19:30 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Stefan Huehner
998e256c82
Fix some -Wstrict-prototype warnings () -> (void).
2006-08-21 12:06:26 +02:00
Andrew Talbot
1a40c4c552
comctl32/tests: Write-strings warnings fix.
2006-07-31 10:51:15 +02:00
Andrew Talbot
8d1e492ad3
comctl32/tests: Write-strings warnings fix.
2006-07-20 12:11:18 +02:00
Huw Davies
f01ae8ace9
comctl32: All items should be marked as unchecked when LVS_EX_CHECKBOXES is initially set.
...
When a new item is added with LBS_EX_CHECKBOXES already set then that item is marked as unchecked.
2006-07-18 11:09:27 +02:00
Alexandre Julliard
77dc0d9be5
.gitignore: Added wildcards to ignore generated resource files.
2006-07-10 21:39:00 +02:00
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Andrew Talbot
b93f547a1e
comctl32/tests: Write-strings warnings fix.
2006-07-03 11:58:41 +02:00
Francois Gouget
11ae0f6386
Assorted spelling fixes.
2006-06-16 11:32:29 +02:00
Mike McCormack
13115d8cf6
comctl32: Add a short test for the listview.
2006-06-15 11:39:29 +02:00
Alexandre Julliard
03e2b335c4
comctl32: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:09:16 +02:00
Andrew Talbot
5ca5c8489e
comctl32/tests: Write-strings warnings fix.
2006-05-30 12:24:01 +02:00
Andrew Talbot
b836d1f7c3
comctl32/tests: Write-strings warning fix.
2006-05-28 18:27:27 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Mikołaj Zalewski
36a8e5fba3
comctl32: header: Fix INSERTITEM on a zero mask and GETITEM on a mask with unknown fields.
...
INSERTITEM should fail on a zero mask. If in GETITEM the mask has an
unknown field it should store only the comctl32 4.0 fields (with test
case).
2006-05-16 20:23:39 +02:00
Mikołaj Zalewski
bf346b240d
comctl32: header: Copy some fields on INSERTITEM even if they are not in the mask.
2006-05-16 20:22:27 +02:00
Mikołaj Zalewski
3eccdfcca7
comctl32: header: Automatically set some format fields.
2006-05-16 20:22:11 +02:00
Mikołaj Zalewski
8266fdd8cb
comctl32: header: Check for HDN_GETDISPINFO not being sent during INSERT/SETITEM.
2006-05-15 15:00:40 +02:00
Mikołaj Zalewski
d848dda8bc
comctl32: Test the HDM_SETITEM notifications.
2006-04-19 19:25:33 +02:00
Huw Davies
517b85f989
comctl32: Set the sheet caption before invoking the sheet callback and before creating the pages.
2006-04-06 22:22:00 +02:00
Alexandre Julliard
5fd23798ff
comctl32: Force a specific day value in the monthcal test.
...
Avoids test failure when the current day happens to be the 31st...
2006-03-31 12:45:59 +02:00
Mike McCormack
cba422261b
comctl32: Fix some gcc 4.1 warnings.
2006-03-15 11:30:25 +01:00
Vitaliy Margolen
9774745330
comctl32: Remove/swap limits if min > max in MCM_SETRANGE.
...
We should swap min & max only when both limits are being
set. Otherwise limit that being set should invalidate other limit
(remove it).
2006-02-16 12:19:36 +01:00
Vitaliy Margolen
f273bdc0b5
comctl32: Don't change month range in MCM_SETRANGE. Add tests for this.
2006-02-16 12:19:09 +01:00
Vitaliy Margolen
bc2b9e3feb
comctl32: Fix invalid date/time check in MCM_SETRANGE: ignore time and fail on bad date.
2006-02-14 17:12:45 +01:00
Vitaliy Margolen
38290cf977
comctl32: Add month calendar tests.
2006-02-06 20:58:48 +01:00
Eric Pouech
e66e227dbe
Fixes for missing prototypes warnings.
2006-02-06 13:13:28 +01:00
Dmitry Timoshkov
57a579ffcd
Make more arrays const.
2006-01-24 14:00:32 +01:00
Rob Shearman
823ba55aca
comctl32: Test the painting behaviour of the progress bar control.
...
Test the painting behaviour of the progress bar control when the
PBM_SETPOS message is sent to it, with respect to whether the
background is erased and what part of the control is redrawn.
2006-01-11 12:12:06 +01:00
Dmitry Timoshkov
f15abf08ac
comctl32: Add a test for the initial tooltip window style settings,
...
make it pass under Wine.
2005-12-19 17:43:10 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Vijay Kiran Kamuju
b904e25234
Added header control tests.
2005-11-18 12:33:10 +00:00
Francois Gouget
2adb302a99
Add trailing '\n's to ok() and TRACE() calls.
2005-11-10 11:17:38 +00:00
Krzysztof Foltman
364c3aa449
Separators with group style set don't separate toolbar radio groups
...
anymore (which broke tool selection in Front Panel Designer).
2005-10-21 15:45:11 +00:00
Jason Edmeades
a18b7baa87
Fix some off by one calculations in the comboboxex functions, and
...
handle an out of range positive index the same as windows + unit test
case.
2005-09-21 09:41:44 +00:00
Alexandre Julliard
ba41fe20bc
Fixed a few more pointer to integer typecast issues for 64-bit
...
platforms.
2005-09-12 21:22:32 +00:00
Alexandre Julliard
e4b2a0bbbc
Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
...
appropriate.
2005-09-09 15:20:04 +00:00
Alexandre Julliard
cc4da88563
Explicitly import kernel32 in tests that use it.
2005-08-27 09:27:09 +00:00
Vitaliy Margolen
abd12e4dbf
Fix handling of minimum tab width.
...
Add more tests to test it.
2005-08-23 10:05:54 +00:00
Michael Kaufmann
e3a35a8653
- Redraw immediately upon PBM_SETPOS, PBM_DELTAPOS, PBM_STEPIT.
...
- New tests.
2005-08-23 10:02:25 +00:00
Francois Gouget
38339b0a96
The PSDK does not define a TreeView_InsertItemA() macro so use
...
TreeView_InsertItem() instead.
2005-08-10 14:42:32 +00:00
Alexandre Julliard
90c3c89aea
Fixed regression in DPA_Search.
2005-08-01 14:50:36 +00:00
Felix Nawothnig
9fb00ff5c8
Fix DPA_Search for sorted arrays.
2005-08-01 09:18:23 +00:00
Francois Gouget
28dc5a8afc
Assorted spelling fixes.
2005-07-11 10:59:41 +00:00
Felix Nawothnig
7dde735180
Fix some DPA functions so they pass the new tests.
2005-07-08 11:30:28 +00:00
Felix Nawothnig
6d9150dd38
Add another failing DPA test.
2005-07-07 11:26:26 +00:00
Francois Gouget
c7dcf642ea
Add trailing '\n's to ok() calls.
2005-07-06 15:46:47 +00:00
Felix Nawothnig
7a4b579b11
Fix DPA tests on Win95.
2005-07-05 11:01:29 +00:00
Felix Nawothnig
126af8653e
Rewrote the DPA testsuite.
2005-07-03 12:02:09 +00:00
Stefan Huehner
863a4b1488
Fix some more -Wstrict-prototypes warnings.
2005-06-21 20:53:13 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00
Stefan Huehner
712087700e
Fix some -Wstrict-prototypes warnings.
2005-06-16 15:52:44 +00:00
Krzysztof Foltman
6b1e80cb2c
Test when TVN_SELCHANGING and TVN_SELCHANGED are really sent.
2005-06-13 12:23:01 +00:00
Mike McCormack
882bc4d18d
Warning fixes for -Wmissing-declarations and -Wwrite-strings.
2005-06-09 09:50:56 +00:00
Stefan Leichter
5027c1b5c5
Import DPA_Search by ordinal like other DPA functions.
2005-04-22 21:18:12 +00:00
C. Scott Ananian
f65e415d64
UPDOWN_GetBuddyInt should not fail when the control is empty.
2005-03-18 14:09:12 +00:00
C. Scott Ananian
793fd5646b
Started a unit test case for the updown control.
2005-03-16 19:52:40 +00:00
Jon Griffiths
6cf8602ebb
Comment out a test that crashes on early versions.
2005-03-14 10:10:00 +00:00
Francois Gouget
4d801b66e6
Assorted spelling fixes.
2005-02-10 19:19:35 +00:00
Jon Griffiths
873cd009d0
Remove unneeded headers to reduce unneeded rebuilds.
2004-12-15 10:54:44 +00:00
Eric Pouech
4056d7ef8c
Fixed some errors in function prototypes.
2004-12-13 21:19:01 +00:00
Jon Griffiths
d6139af2da
Implement the remaining MRU functions, fix a couple of differences
...
from native comctl32, add tests of MRU behaviour and documentation.
2004-12-10 15:31:38 +00:00
Francois Gouget
3bb5b093e8
Assorted spelling fixes.
2004-10-22 22:27:51 +00:00
Gerald Pfeifer
8e85b37088
Completely disable unused function show_image().
2004-10-14 00:34:47 +00:00
Jon Griffiths
ce0fbb5b28
ImageList_Merge should not fail if indices are bad.
...
Add tests for this case, a visible test mode and fix DrawIndirect test
under some native comctl32.dll's.
2004-10-07 17:34:56 +00:00
Michael Stefaniuc
fd306fb5d1
- native ImageList_Remove dosn't spit out an error message when
...
deleting an index out of range so don't do that either
- add 2 ImageList_Remove tests
2004-09-28 19:17:43 +00:00
Ferenc Wagner
e07e1ee547
Added \n to ok() strings in the imagelist tests.
2004-09-02 20:08:15 +00:00
Francois Gouget
d661e1a2a9
MSVC does not like the typeof() in the function pointer declaration.
...
Fix a warning.
2004-08-31 17:32:43 +00:00
Robert Shearman
0aa22f989b
Allow image list tests to compile and run on old platforms.
2004-08-26 18:22:31 +00:00
Francois Gouget
dff5004bc0
Assorted spelling fixes.
2004-08-26 00:31:20 +00:00
Mike McCormack
99c83d4c57
Tests for icon and bitmap adding and removing and bitmap drawing with
...
image lists.
2004-08-24 18:41:52 +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
Michael Stefaniuc
14d9a7c1e9
Test case for hotspot handling.
2004-08-22 01:59:55 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Robert Shearman
436145e975
Fix nGrow initialization in DPA_CreateEx.
2004-02-06 05:16:32 +00:00
Francois Gouget
231fbff8d0
Add trailing '\n's to ok() calls.
2004-01-27 04:01:10 +00:00
Francois Gouget
a5aa8dc1d0
DPA_Create is missing from all recent import libraries so use
...
GetProcAddress to load it.
Add '\n' to 'ok' calls.
2004-01-19 21:47:35 +00:00
Francois Gouget
4cd80a3637
Add trailing '\n's to ok() calls.
2004-01-19 21:43:43 +00:00
Vitaliy Margolen
036dcf167e
- Fix drawing of HotTracked tabs & buttons.
...
- More tab size fixes in different styles.
- Don't use new padding until style changes.
- Fix left alignment of labels &| icons.
- Don't draw over UpDown control.
- Fully erase tabs when scrolling.
- More tests.
2003-12-02 03:31:44 +00:00
Vitaliy Margolen
785bae8aae
- Fix tab size for TCS_OWNERDRAWFIXED style.
...
- Correct size recalculation after setting tab width.
- Fix button sizes to match native.
- Center both vertically and horizontally tab text & icon.
- Use correct left/center alignment flags.
2003-10-31 00:06:42 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Uwe Bonnes
2c4fd4289c
New comctl32 test directory and test case for DPA_Search.
2003-05-15 23:58:48 +00:00