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
Huw Davies
9ab07d5b37
comctl32: Revert to waiting on just the thread object, since the thread no longer sends messages.
2008-03-11 16:17:25 +01:00
Huw Davies
13d0803501
comctl32: Animation notifications should be posted not sent.
2008-03-11 16:17:22 +01:00
Huw Davies
84a1a88c5a
comctl32: Get the background brush in ACM_OPEN where native does.
2008-03-11 16:17: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
Mikołaj Zalewski
d3608cf4b2
comctl32: rebar: Fix SizeToHeight when no bands visible.
2008-03-07 10:52:38 +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
Rob Shearman
48000893f9
makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
...
Only specify the root to keep platform-specifics out of the individual
DLL makefiles.
2008-03-04 20:55:01 +01:00
Mikołaj Zalewski
23b0085a25
comctl32: rebar: Don't assume the first band is visible.
...
The code required that a row started with a visible band. However this
was not met if the first band of the rebar was hidden. The new code
should fix this case. I've also made it explicit in the comments that
the functions require the first band to be visible and renamed
next_band, prev_band to next_visible and prev_visible to make it clear
what these functions do.
2008-02-28 10:45:52 +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
497239b105
comctl32: rebar: Code cleanup.
2008-02-27 14:52:25 +01:00
Mikołaj Zalewski
786dcac944
comctl32: rebar: Add RBS_AUTOSIZE support.
2008-02-27 14:52:25 +01:00
Mikołaj Zalewski
bc0fe1bd8e
comctl32: rebar: Invalidate children in CalcHorz/VertBand.
2008-02-27 14:52:25 +01:00
Mikołaj Zalewski
480c0d7215
comctl32: rebar: An implementation of RB_SIZETORECT.
2008-02-27 14:52:25 +01:00
Rob Shearman
f3c40f925d
comctl32: Fix possible use of uninitialised variable in REBAR_Paint.
...
In the case where an hdc is passed in via the wParam, ps.fErase could be
uninitialised. Fix this by rearranging the code so that ps is only used
when an hdc isn't passed in.
2008-02-25 13:29:34 +01:00
Mikołaj Zalewski
41025d56e3
comctl32: datetime: Support literals in apostrophes.
2008-02-25 13:27:00 +01:00
Rob Shearman
7f33e95ca7
comctl32: Rename the dwStyle and dwOldStyle variables in LISTVIEW_SetExtendedListViewStyle to more accurately reflect their purpose.
...
This also fixes local variable shadowing in the function, which should
be avoided for purposes of code readability.
2008-02-25 12:02:18 +01:00
Rob Shearman
45f13cefc4
comctl32: Fix local variable shadowing in load_string by moving len to the block in which it is actually used.
2008-02-25 12:02:15 +01:00
Rob Shearman
e145242671
comctl32: Fix the signedness of i, oldNumParts and nTipCount in STATUSBAR_SetParts.
2008-02-25 12:02:11 +01:00
Alexandre Julliard
543909958f
comctl32: Remove unnecessary \n in trace.
2008-02-17 20:26:13 +01:00
Rob Shearman
783b5b49a2
comctl32: Remove some more useless asserts.
2008-02-16 13:52:33 +01:00
Rob Shearman
82c41bb596
comctl32: Fix the character count passed to GetWindowTextW in TREEVIEW_Command.
2008-02-16 13:52:28 +01:00
Rob Shearman
affe20164e
comctl32: Remove a useless assert from TREEVIEW_GetItemIndex.
2008-02-16 13:52:24 +01:00
Rob Shearman
fd291ed3d8
comctl32: Fix the character count passed into LoadStringW from propsheet functions.
2008-02-16 13:52:21 +01:00
Andrew Talbot
8d555e825b
comctl32: Assign to structs instead of using memcpy.
2008-02-12 23:00:03 +01:00
Alexandre Julliard
9510f97935
comctl32: Process messages while waiting for the animation thread to finish.
2008-02-11 20:41:40 +01:00
Rob Shearman
2a56d15997
comctl32: Move the getting of the DC outside of ANIMATE_DrawFrame.
...
This allows the handle to the DC to be passed in the WM_CTLCOLORSTATIC
message sent to the parent.
2008-02-07 13:52:38 +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
Bang Jun-young
c5083961b3
comctl32: Fix invalid syntax.
2008-02-07 11:59:53 +01:00
Lei Zhang
3980401231
comctl32: Use wine_dbgstr_rect() in traces.
2008-02-07 11:59:53 +01:00
Rob Shearman
5c517a20b7
comctl32: Don't get the background colour in ANIMATE_PaintFrame as this can be called inside a critical section.
...
This could therefore create a deadlock if the processing for
WM_CTLCOLORSTATIC ends up sending certain messages to the animate control.
So move the retrieval of the background colour into the callers of
ANIMATE_PaintFrame but outside of any critical section.
2008-02-06 23:24:40 +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
Reece H. Dunn
af9c736f6b
comctl32: Proper fix redrawing the trackbar background with themes enabled.
2008-02-05 12:19:36 +01:00
Rob Shearman
53c6cdf918
comctl32: Get the background colour in ANIMATE_PaintFrame, instead of just in WM_PAINT.
...
This fixes the rendering of transparent animations when using a
background thread.
2008-02-04 13:04:40 +01:00
Rob Shearman
8cda4a8d90
comctl32: In certain circumstances, native comctl32's animation control accepts negative start positions for the ACM_PLAY message.
...
These circumstances seems to be after a seek is performed, but we play
it safe and allow negative start positions to be treated as zero always.
2008-02-04 13:03:05 +01:00
Austin English
c2a7914d1c
comctl32: Spelling fixes.
2008-01-24 11:43:02 +01:00
Alexandre Julliard
e85f7ed79e
comctl32: Tooltips should be top-most windows.
2008-01-23 21:42:33 +01:00
Rob Shearman
1030d41279
comctl32: Support seeking to a particular frame.
...
In this case just draw the frame without starting the timer thread of
setting a timer and without sending any notifications.
2008-01-16 15:34:52 +01:00
Rob Shearman
92dde89506
comctl32: Keep on displaying the last frame of the animation after the animation has stopped.
2008-01-16 15:34:33 +01:00
Francois Gouget
44b52b128c
Assorted spelling fixes.
2008-01-16 12:48:29 +01:00
Andrew Talbot
863ffb719b
comctl32: Remove unneeded casts.
2008-01-02 12:38:41 +01:00
Michael Stefaniuc
1f26b146d1
janitorial: Remove superfluous backslashes at end of lines.
2007-12-31 19:23:45 +01:00
Andrew Talbot
867f254bec
comctl32: Remove unneeded casts.
2007-12-31 17:40:45 +01:00
Francois Gouget
f1c27eda6b
Assorted spelling fixes.
2007-12-18 14:16:11 +01:00
Gregor Brunmar
d055cb8d5c
comctl32: Monthcal lost focus fix.
2007-12-11 17:49:28 +01:00
Thomas Weidenmueller
23dd46413c
comctl32: Fix painting bug in listview control.
2007-12-11 17:48:53 +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
Detlef Riekenberg
efb13b28df
Assorted spelling fixes.
2007-12-08 19:55:39 +01:00
Gregor Brunmar
f18b428ccf
comctl32: Added context menu to treeview.
2007-12-07 19:01:45 +01:00
Gregor Brunmar
490e0029ea
comctl32: Disable propsheet apply button at start up.
2007-12-07 19:01:40 +01:00
Alexandre Julliard
c0b12351e0
Avoid size_t types in traces.
2007-12-07 18:49:18 +01:00
Alexandre Julliard
b406e9a7b4
comctl32: Fix a compiler warning.
2007-12-07 18:43:05 +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
Gerald Pfeifer
42677e25f7
comctl32: Simplify condition based on WPARAM always being >= 0.
2007-12-04 18:42:24 +01:00
Gerald Pfeifer
a20f4a6bbf
comctl32: Remove extraneous check (unsigned < 0).
2007-12-03 13:17:42 +01:00
Andrew Talbot
1bf787d521
comctl32: Remove unneeded casts.
2007-12-03 13:10:21 +01:00
Andrew Talbot
04ff9664fd
comctl32: Fix a typo.
2007-11-26 12:27:20 +01:00
Rob Shearman
f2efcf5f59
comctl32: Update the version in the created version to the highest current version present on XP.
...
We don't need to create more than one because application dependencies
can be resolved using shared assemblies with higher build and revision
numbers.
2007-11-26 12:26:54 +01:00
Rob Shearman
0d44f6f070
comctl32: Forward the WM_GETTEXTLENGTH message from ComboEx controls to its edit control.
2007-11-20 12:28:59 +01:00
Rob Shearman
c6525745f2
comctl32: Fix the tooltips behaviour when TTF_ABSOLUTE isn't specified.
...
This does not mean to use the current cursor position. Instead, it means
that the left hand edge of balloon tips doesn't have to be exactly the
co-ordinate passed in (i.e. the stem can be as vertical as possible) and
it means non-balloon tips can use smart placement.
2007-11-20 12:28:59 +01:00
Rob Shearman
5ff8e6d7e1
comctl32: Unify the implementation of TOOLTIPS_Show and TOOLTIPS_TrackShow to give tracked tooltips balloon support.
2007-11-20 12:28:59 +01:00
Thomas Weidenmueller
05a9678d20
comctl32: Fix handling of CB_RESETCONTENT in ComboBoxEx.
2007-11-19 12:55:19 +01:00
Gerald Pfeifer
7b306c57bd
comctl32: Remove check which never triggers.
2007-11-15 12:49:23 +01:00
Alexandre Julliard
a4c9d96aca
comctl32: Fixed handling of monochrome icons in image lists.
2007-11-14 12:38:35 +01:00
Detlef Riekenberg
2b8f8d16bd
comctl32: Fix a typo in a debug message.
2007-11-14 11:51:13 +01:00
Alexandre Julliard
a1b02c2cec
comctl32/tests: Flush pending events before progress repaint tests.
2007-11-06 14:39:41 +01:00
Lei Zhang
019016f90f
comctl32: Fix typo in rebar.
2007-11-02 12:50:55 +01:00
Lei Zhang
bf313ee857
comctl32: Fix uninitialized, unused variables.
2007-11-02 12:38:00 +01:00
Lei Zhang
5d05f7fc74
comctl32: Datetime should close its monthcal when the monthcal loses focus.
2007-11-02 12:37:48 +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
Alexander Dorofeyev
35ff6d6750
comctl32: Fix broken detection of non-empty string.
2007-10-29 14:32:16 +01:00
Alexander Dorofeyev
77c376e0f8
comctl32: Pass command id of button in wParam.
2007-10-29 14:32:10 +01:00
Hwang YunSong(황윤성)
7db430ac84
comctl32: Updated Korean resource.
2007-10-25 13:56:41 +02:00
Rob Shearman
266a5a9d23
comctl32: Don't set the focus to the text box when the ComboBoxEx receives a CBN_SELENDCANCEL notification.
2007-10-25 12:14:26 +02:00
Francois Gouget
c4b1195c0c
Assorted spelling fixes.
2007-10-23 18:20:27 +02:00
Lionel Debroux
29ddd49130
comctl32: Remove redundant NULL check before free (found by Smatch).
2007-10-22 12:36:08 +02:00
Lionel Debroux
58b743161b
comctl32: Remove redundant NULL check before free (found by Smatch).
2007-10-22 12:36:08 +02:00
Apostolos Alexiadis
6b00b72349
comctl32: Add Greek resources.
2007-10-18 13:19:59 +02:00
Alexandre Julliard
16080ccd48
comctl32: Fix a discard const warning.
2007-10-17 14:15:13 +02:00
Lei Zhang
d81b6fa8c7
comctl32: Monthcal should send notifications when today link gets clicked.
2007-10-16 11:01:14 +02:00
Lei Zhang
76949d3778
comctl32: Correct monthcal WM_LBUTTONDOWN return values.
2007-10-16 11:01:03 +02:00
Lei Zhang
e58e4679b5
comctl32: Select today's date when the today link is clicked.
2007-10-16 11:00:53 +02: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
Reece H. Dunn
4b4cfff4ba
comctl32: Fixed drawing the trackbar background when themes are installed.
2007-10-09 17:52:46 +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
Alexandre Julliard
662b09dcaf
comctl32: We can now store binary files in the repository.
2007-09-17 15:38:23 +02:00
Andrew Talbot
4ccd78c2a1
comctl32: Fix a memory leak.
2007-09-14 14:42:59 +02:00
Aric Stewart
7d947c16cb
propsheet: Do not change idea of size when new pages are added.
2007-09-14 14:23:29 +02:00
Americo Jose Melo
c5ba90131e
Update the Portuguese translation.
2007-09-13 13:28:26 +02:00
Aric Stewart
78da158ef8
comctl32: treeview: Ensure our textWidth is correct when returning the size of the text box.
2007-09-11 11:47:42 +02:00
Aric Stewart
4939aa2497
comctl32: Ensure item metric are calculated when an item becomes visible.
2007-09-11 11:47:30 +02:00
Aric Stewart
bbc5757263
comctl32: Flesh out version info.
2007-09-10 15:29:47 +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
Alexandre Julliard
4bac1e959d
comctl32: Create the manifest directory if needed (spotted by Dan Kegel).
2007-08-20 12:46:37 +02:00
Jason Edmeades
f6631265f3
comctl32: Listview fails to add a column if mask=0.
2007-08-17 12:01:37 +02:00
Jason Edmeades
2e72e102a6
comctl32: Fix tooltips uninitialized variables plus wrong positioning.
2007-08-15 10:41:52 +02:00
Alexandre Julliard
6790cdb8f5
comctl32: Create a manifest file at dll registration time.
2007-08-14 12:31:27 +02:00
Jason Edmeades
ff826eb14a
comctl32: Fix missing tooltips.
2007-08-14 12:29:36 +02:00
Francois Gouget
22d09f78fc
comctl32: According to the PSDK, DrawShadowText() takes a non-const RECT pointer.
2007-07-31 21:37:04 +02:00
Jason Edmeades
718e23fb68
comctl32: Fix missing toolbar button with HINST_COMMCTRL.
2007-07-26 11:49:05 +02:00
Andrew Talbot
8dac319a12
comctl32: Cast-qual warning fix.
2007-07-20 11:47:14 +02:00
Mikołaj Zalewski
f53e314180
comctl32: tooltips: Remove broken support for non-NULL-terminated strings in TOOLTIPS_GetDispInfo[AW].
2007-07-20 11:36:59 +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
Michael Stefaniuc
02933a11de
dlls: Remove unreachable break after return/break. Found by Smatch.
2007-07-19 11:57:49 +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
Markus Gömmel
f281d0e77d
comctl32/datetime: Added a missing InvalidateRect to update display after WM_ENABLE.
2007-07-02 13:24:17 +02:00
Michael Stefaniuc
ff01912a48
comctl32: Replace malloc() with HeapAlloc().
2007-06-29 12:32:51 +02:00
Lei Zhang
e3b80a0d88
comctl32: Determine if PSH_PROPSHEETPAGE is set once.
2007-06-26 12:12:36 +02:00
Lei Zhang
f4dd14abc6
comctl32: Reduce duplicate code between PROPSHEET_CollectSheetInfoA/W.
2007-06-26 12:12:25 +02:00
Lei Zhang
0cbee494b3
comctl32: Reduce duplicate code between PropertySheetA/W.
2007-06-26 12:12:12 +02:00
Alexandre Julliard
52e5d3849f
comctl32: Get rid of CharNextW/CharPrevW. Simplify some string functions.
2007-06-25 13:51:00 +02:00
Michael Stefaniuc
585f863c24
comctl32: Do not use wide character constants.
2007-06-22 12:18:59 +02:00
Lei Zhang
ebb460c3c0
comctl32: Make modal property sheets modal.
2007-06-15 13:24:13 +02:00
Alexandre Julliard
0f63ad92cc
comctl32: Remove useless pointer check.
2007-06-13 11:19:36 +02:00
Francois Gouget
96c337f0a1
Assorted spelling fixes.
2007-06-07 19:24:32 +02:00
Markus Goemmel
4b8d442477
comctl32/listview.c: Ownerdraw font problem during focus change fixed.
2007-06-06 20:34:19 +02:00
Mikołaj Zalewski
a1b55be693
comctl32: listview: Make LVM_GETCOLUMNWIDTH query the header control instead of using cached data.
2007-06-04 13:16:36 +02:00
Misha Koshelev
fc5a746104
comctl32: imagelist: Fix simultaneous selection of one bitmap into two device contexts.
2007-06-01 12:43:40 +02:00
Dmitry Timoshkov
18366472c7
comctl32: Fix a compilation warning in 64-bit mode.
2007-06-01 12:42:06 +02:00
Louis Lenders
b7a5985bca
comctl32: Add stub for DrawShadowText.
2007-05-31 13:07:20 +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
Aric Stewart
df0d77b007
comctl32: Trying to blend an image without a mask causes problem, especially if the background is white.
2007-05-18 14:42:30 +02:00
Mikołaj Zalewski
7b8241b1ee
comctl32: toolbar: TB_SETIMAGELIST should try to preserve button width.
2007-05-16 11:55:38 +02:00
Francois Gouget
0acb5810bf
Assorted spelling fixes.
2007-05-15 18:09:16 +02:00
Mikołaj Zalewski
1f0183e218
comctl32: status: Send a NMMOUSE in mouse notifications, not a NMHDR.
2007-05-14 15:41:29 +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
Mikołaj Zalewski
10b1d00113
comctl32: toolbar: Merge TOOLBAR_GetButtonInfoA and TB_GetButtonInfoW.
2007-04-24 10:18:33 +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
Dmitry Timoshkov
43bca23840
comctl32: Use packing only for public ILHEAD structure, 2 bytes packing is enough.
2007-04-23 13:58:05 +02:00
Dmitry Timoshkov
e0195ca4ef
comctl32: Fix an off by one error in ImageList_Remove.
2007-04-23 13:57:02 +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
Lei Zhang
6fb16fca6b
comctl32: Fix first day of the week in monthcal.
2007-04-10 11:50:24 +02:00
Felix Nawothnig
fe5881c788
comctl32: Allow enabling TVS_CHECKBOXES on the fly.
2007-04-07 11:01:22 +02:00
Felix Nawothnig
7657913873
comctl32: Allow destruction of toolbar in BN_CLICKED handler.
2007-04-06 12:31:08 +02:00
Felix Nawothnig
b7f0901956
comctl32: Use appropriate font for header drag image.
2007-04-06 12:31:05 +02:00
Felix Nawothnig
a4d3e46e65
comctl32: Fix item rect calculation.
2007-04-06 12:31:05 +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
Andrew Talbot
b84348c4ce
comctl32: Constify some variables.
2007-04-03 11:22:12 +02:00
Andrew Talbot
3c9f867f77
comctl32: Constify some variables.
2007-04-03 11:22:06 +02:00
Andrew Talbot
58ec988800
comctl32: Constify some variables.
2007-04-03 11:22:00 +02:00
Andrew Talbot
51ee497174
comctl32: Constify some variables.
2007-04-03 11:21:51 +02:00
Andrew Talbot
13cd63af43
comctl32: Constify some variables.
2007-04-03 11:21:45 +02:00
Andrew Talbot
8366dd1703
comctl32: Constify some variables.
2007-04-03 11:21:17 +02:00
Andrew Talbot
af16b105a7
comctl32: Constify some variables.
2007-04-03 11:21:11 +02:00
Aric Stewart
2a8463b558
comctl32: Unset active page while setting a new active page for a propsheet.
...
Before calling the PSN_SETACTIVE in PROPSHEET_SetCurSel set the
active_page to -1. This prevents crashes and corruption of the
property sheet if the application makes any modifications during the
PSN_SETACTIVE.
2007-04-02 12:09:19 +02:00
Andrew Talbot
f44cb11a73
comctl32: Constify some variables.
2007-04-02 11:37:44 +02:00
Andrew Talbot
bd51f1c98f
comctl32: Constify some variables.
2007-04-02 11:37:18 +02:00
Andrew Talbot
abf4d3b8cd
comctl32: Constify some variables.
2007-04-02 11:37:03 +02:00
Andrew Talbot
9a76763c90
comctl32: Constify some variables.
2007-04-02 11:36:23 +02:00
Andrew Talbot
3017a48e48
comctl32: Cast-qual warnings fix.
2007-03-30 10:55:19 +02:00
Andrew Talbot
a8a469c7c0
comctl32: Constify some variables.
2007-03-30 10:55:19 +02:00
Andrew Talbot
b07d7ce729
comctl32: Constify some variables.
2007-03-29 21:07:58 +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
Andrew Talbot
3253bf5570
comctl32: Constify some variables.
2007-03-28 12:06:09 +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
Andrew Talbot
79205875f7
comctl32: Constify some variables.
2007-03-27 12:37:02 +02:00
Piotr Caban
2b1f1093f0
comctl32: Set label width after editting.
2007-03-27 12:34:23 +02:00
Piotr Caban
47aaf09dc3
comctl32: Fixed TreeView_EndEditLabelNow crash.
2007-03-26 12:34:27 +02:00
Andrew Talbot
94ebade2c3
comctl32: Constify some variables.
2007-03-23 13:04:50 +01:00
Andrew Talbot
f63233d6a3
comctl32: Constify some variables.
2007-03-23 13:04:43 +01:00
Andrew Talbot
f76d076f8e
comctl32: Constify some variables.
2007-03-22 11:28:03 +01:00
Andrew Talbot
62545611b2
comctl32: Constify some variables.
2007-03-21 11:59:37 +01: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
Andrew Talbot
74ab88ca97
comctl32: Replace inline static with static inline.
2007-03-17 20:03:19 +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
Kanit Therdsteerasukdi
7cc0b970b6
comctl32: datetime: Test for out of range dates in DTM_SETSYSTEMTIME only when flag=GDT_VALID.
2007-03-16 11:36:04 +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
Mikołaj Zalewski
a66784c7d1
comctl32: Register all the controls in DllMain.
2007-03-14 22:45:17 +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
Felix Nawothnig
6a514819db
comctl32: Fix visual glitches with TVS_HASLINES.
2007-03-13 21:55:01 +01:00
Felix Nawothnig
0f2f718dea
comctl32: Layout and redraw on TCM_SETIMAGELIST.
2007-03-13 21:54:47 +01:00
George Gov
aa685beb07
comctl32: Add some listview message tests.
2007-03-13 21:32:36 +01:00
Mikołaj Zalewski
88bdc3af95
comctl32: listview: Compute the state icon rect in GetItemMetrics.
2007-03-13 21:27:44 +01:00
Stefan Huehner
4d1d01f266
Mark several functions as static.
2007-03-13 13:35:12 +01:00
Stefan Huehner
20223d3d2e
comctl32: rebar: Test the rebar style for RBBS_VARIABLEHEIGHT, not the passed in structure.
2007-03-13 13:22:47 +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
79d4dfb601
comctl32: Implement LVS_EX_DOUBLEBUFFER.
2007-03-12 12:08:19 +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
Michael Stefaniuc
22ecd7aa67
comctl32: Remove redundant NULL checks before Free() (found by Smatch).
2007-03-08 11:58:04 +01:00
Andrew Talbot
80103832c8
comctl32: Replace const pointer parameter with correct pointer to const.
2007-03-06 12:10:35 +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
Mikołaj Zalewski
9b4191eaf8
comctl32: rebar: Remove the not needed BANDS_NEED_LAYOUT flag.
2007-03-01 11:38:37 +01:00
Mikołaj Zalewski
95d0e58659
comctl32: rebar: WM_SETFONT should send a RBN_HEIGHTCHANGE if necessary.
2007-03-01 11:38:24 +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
Samuel Lidén Borell
0ee7264c37
comctl32: Use mask value in COMBOEX_GetItemA too.
2007-02-26 14:39:10 +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
Jan Zerebecki
fa86532354
comctl32: Add DebugInfo to critical section.
2007-02-23 11:58:07 +01:00
Aric Stewart
aecbb11e40
comctl32: Implement LVM_SETUNICODEFORMAT.
2007-02-22 11:27:01 +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
Thomas Weidenmueller
254b97732b
comctl32: Implement LM_GETIDEALSIZE for the syslink control.
2007-02-20 20:10:53 +01:00
Mikołaj Zalewski
3f5458dc95
comctl32: rebar: Store the oldSize as a local variable.
2007-02-20 11:43:47 +01:00