Commit Graph

2738 Commits

Author SHA1 Message Date
Alexandre Julliard de375d7335 comctl32: Fix the COMBOBOXEXITEM structure and the treeview handles for Win64. 2009-01-10 21:05:17 +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
Andrew Talbot c8cf421186 comctl32: Declare some variables static. 2009-01-02 14:27:44 +01:00
Rob Shearman 76b805dad4 comctl32: Add names for now documented toolbar messages. 2009-01-02 14:27:43 +01:00
Gerald Pfeifer 6bdcdc4232 comctl32: Simplify fifteen functions by removing unused parameters. 2009-01-02 12:39:31 +01:00
Gerald Pfeifer 6eb33b932e comctl32: Simplify NATIVEFONT_Create. 2008-12-27 20:28:37 +01:00
Gerald Pfeifer 568a4bdd2a comctl32: Simplify COMBOEX_Command. 2008-12-27 20:28:30 +01:00
Gerald Pfeifer d7876a2cd4 comctl32: Simplify DATETIME_Char. 2008-12-27 20:28:22 +01:00
Gerald Pfeifer d7d6ceb4da comctl32: Shed off some unused parameters. 2008-12-27 20:28:13 +01:00
Andrew Talbot c086f532f2 comctl32: Remove unused Wine debug channel. 2008-12-17 13:52:40 +01:00
Paul Vriens 1a853abecb comctl32/tests: Destroy the window after the tests. 2008-12-16 12:51:26 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
ByeongSik Jeon 1b0297a7f9 *Zh.rc: Update the Chinese resource font name to "MS Shell Dlg". 2008-12-11 12:20:48 +01:00
Alexandre Julliard c6aebe12b0 comctl32: Make a function static. 2008-12-04 12:46:45 +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
Lei Zhang 6f64338b9d comctl32: Better day of the month input checking in datetime. 2008-11-26 13:28:56 +01:00
Lei Zhang 113a50a843 comctl32: Do ascii to integer conversion only once. 2008-11-26 13:28:43 +01:00
Lei Zhang 40bbe3da6f comctl32: Process WM_CHAR instead of WM_KEYDOWN for numbers in datetime. 2008-11-26 13:28:22 +01:00
Ricardo Filipe 1c55ba0b83 comctl32: Removed dead assignments (llvm/clang). 2008-11-25 13:07:35 +01:00
Ricardo Filipe 66019452f4 comctl32: Remove dead stores (llvm/clang). 2008-11-21 11:28:51 +01:00
Ricardo Filipe 6c24fb1ca8 comctl32: Removed dead increment (llvm/clang). 2008-11-21 11:28:45 +01:00
Ricardo Filipe 422cd0bc3a comctl32: Removed dead increment (llvm/clang). 2008-11-21 11:28:40 +01:00
Ricardo Filipe 5630124896 comctl32: Removed dead store (llvm/clang). 2008-11-21 11:28:36 +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
Reece Dunn 9368972866 comctl32: Don't draw the theme background of the group box over it's content area.
Hi,

Some applications (e.g. Cepstral SwiftTalker) have dialogs that
contain controls that are ordered before the group box that contains
them. The current rendering of themed group boxes will draw it's
background over the content area, hiding any controls that have
already been drawn. XP with the default and other custom themes
correctly shows controls beneath the group box.

This patch excludes the group box content area from being drawn to, so
that any controls that have already been drawn do not get overridden.

- Reece

From 889e477bcb4561565b8caaf41c88c5fe7d83b8d2 Mon Sep 17 00:00:00 2001
From: Reece Dunn <msclrhd@gmail.com>
Date: Fri, 7 Nov 2008 00:11:52 +0000
Subject: [PATCH] comctl32: don't draw the theme background of the group box over it's content area.
2008-11-07 11:01:26 +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
Reece Dunn 5c76b4da73 comctl32: Support themed check boxes and radio buttons. 2008-11-05 13:14:13 +01:00
Reece Dunn 1f9cc20466 comctl32: Support themed push buttons. 2008-11-05 13:13:29 +01:00
Aric Stewart e46a875996 comctl32: Add implementation of LVS_EX_ONECLICKACTIVATE. 2008-11-05 10:55:05 +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
Lei Zhang 913373d2e6 comctl32: Only update comboex edit box if the mask has CBEIF_TEXT set. 2008-10-29 13:29:33 +01:00
Lei Zhang 2881b171df comctl32: Reset nEditLabelItem in LISTVIEW_EndEditLabelT. 2008-10-29 13:29:33 +01:00
Lei Zhang 10d3ea30b7 comctl32: Don't notify if listview edit box contents have not changed. 2008-10-29 13:29:33 +01:00
Lei Zhang 9b057494d0 comctl32: Get rid of DragDetect. 2008-10-29 13:29:33 +01:00
Michael Stefaniuc b12fbe1630 comctl32: HANDLE/HGLOBAL are basically just void pointers. No casts to other pointers are needed. 2008-10-29 11:52:22 +01:00
Michael Stefaniuc d1791f8108 comctl32: Remove superfluous casts as HANDLE to other handle types. 2008-10-28 12:34:05 +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
Michael Stefaniuc 758f799205 comctl32: Just use 0 instead of casting NULL twice to an integer type. 2008-10-27 11:28:12 +01:00
Michael Stefaniuc 6060ca9438 comctl32: LockResource() returns a LPVOID so don't cast its return value. 2008-10-24 14:24:59 +02:00
Michael Stefaniuc 1659313142 comctl32: DPA_GetPtr() returns a LPVOID so don't cast its return value. 2008-10-24 14:24:59 +02:00
Michael Stefaniuc b723e6f6b6 comctl32: Remove the superfluous casting of the LPVOID returned by Alloc(). 2008-10-24 14:24:59 +02: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
Muneyuki Noguchi 9035894fff comctl32: Convert Japanese resource to UTF-8. 2008-10-13 11:40:51 +02:00
James Hawkins a7762476f2 comctl32: Fix MCM_SETFIRSTDAYOFWEEK when the first day set is greater than max allowed. 2008-10-10 12:28:11 +02:00
Michael Stefaniuc 15e5f6844a comctl32: Use FAILED instead of !SUCCEEDED. 2008-10-08 13:42:47 +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
Lei Zhang 60d97040f8 comctl32: Avoid a divide by zero in listview. 2008-09-30 10:56:55 -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
Muneyuki Noguchi adb32f76fc comctl32: Use "MS Shell Dlg" 9 in Japanese resources. 2008-09-29 17:17:19 -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
Andrew Talbot d0e860b8a3 comctl32: Sign-compare warnings fix. 2008-09-22 11:52:15 +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
Andrew Talbot 183f92b22a comctl32: Sign-compare warnings fix. 2008-09-15 11:47:45 +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
Lei Zhang fc2404bc20 comctl32: Handle listview dragging better. 2008-09-11 12:33:01 +02:00
Lei Zhang 5f9b0db217 comctl32: listview: Prevent DragDetect from removing WM_LBUTTONUP messages. 2008-09-11 12:32:53 +02:00
James Hawkins cc0ea85c34 comctl32: Store the previous timeout value to test with. 2008-09-09 11:46:17 +02:00
Gerald Pfeifer 3dbdb31128 comctl32: Remove unused paramters from MONTHCAL_GetRange, MONTHCAL_MouseMove, and MONTHCAL_Create. 2008-09-09 11:46:14 +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
Marcus Meissner 96412ee564 Annotate with allocation size attribute. 2008-09-05 11:22:26 +02:00
Nicolas Le Cam 22e69c0ee4 comctl32: Implement LVM_GETUNICODEFORMAT. 2008-09-04 11:51:40 +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
Aric Stewart bf6e766df6 comctl32: monthcal: Set the stStart parameter when sending the MCN_GETDAYSTATE notification. 2008-09-02 13:34:02 +02:00
Hongbo Ni a2ac029599 comctl32: Add traditional Chinese resources. 2008-09-02 11:57:32 +02:00
Alexandre Julliard c5ef467f4d comctl32: Rename the Chinese resources to comctl_Zh.rc. 2008-08-29 13:53:21 +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
Hongbo Ni e2f5ab434a comctl32: Convert simplified Chinese resource to utf8. 2008-08-27 13:21:22 +02:00
Paul Vriens 2d18e5aac4 comctl32/tests: Don't assert on not implemented function. 2008-08-27 13:21:21 +02:00
Hongbo Ni a8a359ac68 comctl32: Update simplified Chinese resource. 2008-08-22 10:40:43 +02:00
Lei Zhang 098dc7b330 comctl32: Set listview focus on WM_LBUTTONUP instead of WM_LBUTTONDOWN. 2008-08-21 14:11:58 +02:00
Rob Shearman 6181419b64 comctl32: Fix use of arithmetic operator on Boolean type in TREEVIEW_ComputeItemInternalMetrics.
Use a conditional operator to get the same result, but improving
readability of the code.
2008-08-18 17:34:12 +02:00
Lei Zhang fc6553973f comctl32: Add a test for TTM_GETTEXT. 2008-08-18 17:15:56 +02:00
Will Tipton accb5f8faf comctl32: Added input validation to TOOLTIPS_GetTextW() in order to handle gracefully the case where it is called with an empty tooltip. 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
Gerald Pfeifer 1cdb06c69c comctl32: Remove unused parameter from _read_bitmap(). 2008-07-29 13:53:42 +02:00
Gerald Pfeifer d585d42209 comctl32: Push down function scope variable into the different case statements which allows us using more specific types in case. 2008-07-29 13:53:36 +02:00
Reece Dunn e7d22dc966 comctl32: Made the button theme drawing code extensible. 2008-07-24 12:08:42 +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 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
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