Mikołaj Zalewski
9a70306c53
comctl32: statusbar: Optimize STATUSBAR_RefreshPart.
2008-07-23 11:21:38 +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
Gerald Pfeifer
ec351ad16f
comctl32: datetime: Simplify by shedding off unused parameters.
2008-07-22 15:25:25 +02:00
Mikołaj Zalewski
60a1e20ba8
comctl32: Don't print ERRs for reflected messages.
2008-07-22 13:25:08 +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
Gerald Pfeifer
f3a031f248
comctl32: Fix type of loop variable in HEADER_DeleteItem.
2008-07-21 15:06:05 +02:00
Gerald Pfeifer
9500e70def
comctl32: header: Simplify by shedding off unused parameters.
2008-07-21 15:05:47 +02:00
Reece Dunn
a7794bcb50
comctl32: Fixed the MRU tests on Vista.
2008-07-21 14:45:40 +02:00
Mikołaj Zalewski
e016078fdf
comctl32: Fix the file version string declaration.
2008-07-21 12:18:18 +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
f7cda904cd
comctl32: statusbar: Don't issue a WM_PAINT during a WM_CREATE.
2008-07-17 12:24:45 +02:00
Aric Stewart
11f09f3aa0
comctl32: rebar: Prevent unnecessary triggering of RBBIM_CHILDSIZE changes.
2008-07-17 10:51:18 +02:00
Aric Stewart
1c2ad72b47
comctl32: rebar: Record what changes and only redo the Layout if something of relevance changes.
2008-07-17 10:51:00 +02:00
Gerald Pfeifer
17f28f85d8
comctl32: rebar: Simplify by shedding off unused parameters.
2008-07-16 20:09:21 +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
Mikołaj Zalewski
0cb74db992
comctl32: statusbar: Rename NtfUnicode to bUnicode to make is more consistent with other controls, use NF_REQUERY in WM_CREATE.
2008-07-16 19:56:24 +02:00
Mikołaj Zalewski
7f97372a89
comctl32: statusbar: Window is always Unicode, CCM_SETUNICODEFORMAT should change the notify format.
2008-07-16 19:56:24 +02:00
James Hawkins
b04ae273de
comctl32: Free the trackbar tics.
2008-07-14 11:51:13 +02:00
James Hawkins
83004cdd1e
comctl32: Explicity set the number of tics before testing tic placement.
2008-07-14 11:51:07 +02:00
Reece Dunn
a5d2801476
comctl32: Add support for drawing themed group boxes.
2008-07-11 15:29:37 +02:00
Gerald Pfeifer
baa818120c
comctl32: Some simplifications.
2008-07-11 15:19:15 +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
Gerald Pfeifer
c6db778f4c
comctl32: Simplify functions by shedding off unused parameters.
2008-07-08 11:32:00 +02:00
Gerald Pfeifer
0f35109915
comctl32: Fix signedness of two variables.
2008-07-08 11:31:38 +02:00
James Hawkins
ba1e75d9f6
comctl32: Properly set and store the default icon spacing.
2008-07-08 10:48:21 +02:00
Andrew Talbot
b7cc9c66b3
comctl32: Remove unneeded address-of operators from array names.
2008-07-08 10:47:43 +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
Lei Zhang
011bad8ddf
comctl32: Use the system variable pitch font for ip address controls.
2008-06-26 13:16:58 +02:00
Guy Albertelli
6de3764339
comctl32: listview: Implement LVS_NOCOLUMNHEADER support for WM_STYLECHANGED message.
...
When switching LVS_NOCOLUMNHEADER on/off change the style of the header control HDS_HIDDEN.
2008-06-25 20:28:02 +02:00
Guy Albertelli
ff9bb5aec3
comctl32: listview: Show the header when updating header size if not LVS_NOCOLUMNHEADER.
2008-06-25 20:27:50 +02:00
Guy Albertelli
4b34260a73
comctl32: listview: Change header control create act like native for LVS_NOCOLUMNHEAD.
...
The native control issues the CreateWindowEx call with the HDS_HIDDEN
as part of the style and not by issuing the SetWindowLong call.
2008-06-25 20:26:00 +02:00
Gerald Pfeifer
bc588e6a37
comctl32: tooltips: Adjust the type of three loop variables from INT to UINT.
2008-06-23 12:47:23 +02:00
Lei Zhang
4700b0bd87
comctl32: Support LVCF_SUBITEM in LVM_GETCOLUMN.
2008-06-21 11:36:56 +02:00
Andrew Talbot
fb44bc2106
comctl32: Constify some variables.
2008-06-20 12:24:52 +02:00
Colin Finck
985b6e9c01
comctl32: Use a clip region when collapsing the treeview.
2008-06-19 11:47:17 +02:00
Francois Gouget
7857cf3dc7
A couple of spelling fixes.
2008-06-18 16:48:29 +02:00
Lei Zhang
59e3490cad
comctl32: Don't rearrange icons / update scroll bar when destroying a listview.
2008-06-18 16:03:20 +02:00
Tomasz Jezierski - Tefnet
4e224e73c4
comctl32/tests: Fix for setting wrong initial position in listbox.
2008-05-27 19:34:54 +02:00
Andrew Talbot
3c5308b804
comctl32: Indentation fix.
2008-05-23 11:58:18 +02:00
Tomasz Jezierski
1f051b8a7d
comctl32: Conformance test for multiple selection in listbox.
2008-05-21 14:26:44 +02:00
Alexandre Julliard
5315da8445
comctl32: Fix extending a multiple listview selection.
2008-05-21 14:26:35 +02:00
Mikołaj Zalewski
14a42f802d
Make Swedish use SUBLANG_NEUTRAL.
2008-05-19 16:09:13 +02:00
Igor Tarasov
fb61856b45
comctl32: Fix statusbar text alignment bug.
2008-05-14 12:22:17 +02:00
Guy Albertelli
09cb415109
listview: Return correct value from WM_NOTIFYFORMAT with test.
2008-05-08 11:11:03 +02:00
Francois Gouget
633ee950a1
Assorted spelling fixes.
2008-05-07 12:07:11 +02:00
Francois Gouget
42a61d7ed7
Assorted spelling fixes.
2008-05-06 16:10:20 +02:00
Vitaliy Margolen
5c9fbb828d
comctl32: tab: Fix drawing of the icons.
...
This patch partially reverts aa57ad37
. It's not correct. The top/left
is added later on.
2008-05-06 11:25:19 +02:00
Andrew Talbot
2db311a843
comctl32: Dangling pointers fix.
2008-04-28 14:32:17 +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
Guy Albertelli
e85fa81f3c
listview: Implement 2 pixel decoration at top of report style with grid lines.
...
The native control has a 2 pixel header. This implements that background pixel
line and the gridline below it.
2008-04-28 14:22:35 +02:00
Guy Albertelli
7326f091b0
listview: Implement LVS_EX_GRIDLINES functionality.
...
Implement basic LVS_EX_GRIDLINES functionality including support for no items.
2008-04-28 14:22:16 +02:00
Aric Stewart
e1a0715b4a
comctl32: Fix an off-by-one error in toolbar TOOLBAR_SetHotItem.
2008-04-24 22:12:32 +02:00
Austin English
c531e2abdb
Spelling fixes.
2008-04-23 12:31:07 +02:00
Andrew Talbot
161d3322d6
comctl32: Remove unused variables.
2008-04-16 14:08:04 +02:00
Andrew Talbot
369d414d59
comctl32: Remove unused variables.
2008-04-14 12:42:36 +02:00
Andrew Talbot
bab7871cac
comctl32: Remove unused variables.
2008-04-14 12:09:13 +02:00
Peter Urbanec
287561cce5
comctl32: Mousewheel support for updown control.
2008-04-11 12:11:33 +02:00
Alexandre Julliard
9bcdc46e9d
comctl32: Get rid of the hack to remove size grips on managed windows.
2008-04-10 14:47:44 +02:00
Rok Mandeljc
33eedaf60b
comctl32: Updated Slovenian translation.
2008-04-07 21:40:06 +02:00
Apostolos Alexiadis
d7247a8a05
comctl32: Greek resources update.
2008-04-07 11:37:42 +02:00
Jason Edmeades
f54570fdbd
comctl32: Add basic custom draw support for tooltips.
2008-04-03 11:39:52 +02:00
Apostolos Alexiadis
8f0d80ef8e
comctl32: Greek translation update.
2008-04-01 23:38:39 +02:00
Austin English
06d429d6b6
Spelling fixes.
2008-03-27 20:48:19 +01:00
Anatoly Lyutin
d8ab4af526
comctl32: Add HotTrackingColor into COMCTL32_SysColor structure.
2008-03-26 12:09:22 +01:00
Michael Stefaniuc
c038ade2a7
comctl32: Add the Romanian translation.
2008-03-24 11:38:12 +01:00
Lei Zhang
03f18eb425
comctl32: Fix listview redraw when deleting items.
2008-03-20 14:27:36 +01:00
Lei Zhang
74f2f09295
comctl32: Correct listview hittest check to include the state rect.
2008-03-20 14:27:36 +01:00
Lei Zhang
da98243ea1
comctl32: Redraw listview after changing extended styles.
2008-03-20 14:27:35 +01: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
Aric Stewart
178ef4495f
rebar: In AutoSize get the window rc after REBAR_Layout if needed to respect the sizing changes made by REBAR_Layout.
2008-03-18 12:43:32 +01:00
Alexandre Julliard
9dd61548bb
comctl32/tests: Avoid size_t printf format warnings.
2008-03-12 18:14:22 +01:00
Huw Davies
f6603d9fcb
comctl32: Always send WM_CTLCOLORSTATIC during WM_ERASEBKGND.
2008-03-12 12:43:10 +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
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