Commit Graph

3729 Commits

Author SHA1 Message Date
Nikolay Sivov 21897a9689 comctl32: Call interface methods properly. 2012-08-20 10:58:45 +02:00
Sergey Guralnik d54979e329 comctl32: Correct values passed in MCN_SELECT/MCN_SELCHANGE notifications. 2012-08-17 15:16:12 +02:00
Sergey Guralnik c7abff0a27 comctl32/tests: Add test for MCN_SELECT/MCN_SELCHANGE notifications. 2012-08-17 15:16:08 +02:00
Michael Stefaniuc 175eaf1074 comctl32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 17:29:01 +02:00
Michael Stefaniuc 11d35ef8e7 comctl32: Get rid of two macros. 2012-08-13 17:28:53 +02:00
Daniel Jelinski baed448fc7 comctl32/treeview: Fix the position reported by WM_CONTEXTMENU. 2012-07-17 13:09:43 +02:00
Daniel Jelinski 067d528855 comctl32/treeview: Send WM_CONTEXTMENU only to parent window. 2012-07-17 13:09:43 +02:00
Daniel Jelinski 5e86d84337 comctl32/treeview: Inlined TREEVIEW_RButtonUp. 2012-07-17 13:09:43 +02:00
Daniel Jelinski c7212f8262 comctl32/treeview: Send WM_CONTEXTMENU everywhere, not just over items. 2012-07-17 13:09:42 +02:00
Daniel Jelinski 602dea1e12 comctl32/treeview: Fix NM_RCLICK behavior. 2012-07-17 13:09:42 +02:00
Daniel Jelinski 7e56fd38d8 comctl32/treeview: Clean up mouse tracking code. 2012-07-17 13:09:42 +02:00
Francois Gouget ac323a20ba comctl32: Simplify the string comparison functions a bit and use the CSTR_XXX macros. 2012-06-21 08:33:31 +02:00
Francois Gouget bede13b335 comctl32: Fix lstrncmpiW() so its return value is standard and use the CSTR_XXX macros. 2012-06-20 10:27:36 +02:00
Nikolay Sivov 6560d88151 comctl32/listview: Properly update selection mark on item state change. 2012-06-11 12:19:07 +02:00
Daniel Jelinski 4c6803d858 comctl32/tests: Treeview shouldn't modify cChildren if it was explicitly set. 2012-06-07 19:47:59 +02:00
Daniel Jelinski 1196aed33f comctl32: Allow label edit only if treeview style allows editing. 2012-06-07 16:26:25 +02:00
Michael Stefaniuc fe947be7e7 comctl32/tests: Remove stray backslashes at end of lines. 2012-06-07 10:33:17 +02:00
Dmitry Timoshkov 92a81c215f comctl32: Use WARN instead of ERR if a toolbar index is out of range. 2012-05-24 19:54:20 +02:00
Nikolay Sivov 95a15a3482 comctl32: Make it possible to use TVM_GETITEM with item from another tree. 2012-05-22 17:44:00 +02:00
Piotr Caban 99ff5683f3 comctl32: Don't make separator on first position hot. 2012-05-17 17:44:23 +02:00
Piotr Caban 2d75a2425e comctl32: Return if point is over a button in TOOLBAR_InternalHitTest. 2012-05-17 17:44:15 +02:00
Nikolay Sivov 21727c416f comctl32: When created with TCS_VERTICAL, TCS_MULTILINE is set automatically. 2012-05-17 10:18:39 +02:00
Nikolay Sivov ace41e9264 comctl32: Properly disable redraw on tab control. 2012-05-17 10:18:36 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Piotr Caban 25f347892e comctl32: Make icons not overlapping in LVS_ICON mode. 2012-05-10 18:42:06 +02:00
Piotr Caban 8276a3375b comctl32: LVM_SETITEMTEXT is not supported on LVS_OWNERDATA. 2012-05-10 18:41:55 +02:00
Francois Gouget a0bb28f7d9 comctl32/tests: Add a trailing '\n' to an ok() call. 2012-04-25 17:20:42 +02:00
André Hentschel 4598c48041 comctl32: Remove unneeded shadow variables for comboex. 2012-04-18 17:10:34 +02:00
Akihiro Sagawa 8cedea0d60 comctl32: Truncate the info tip text when using ANSI version messages. 2012-04-16 11:50:00 +02:00
Akihiro Sagawa 28f26c9783 comctl32/tests: Add tests for long info tip texts. 2012-04-16 11:49:37 +02:00
Akihiro Sagawa b48f394e4f comctl32: Add support for retrieving lpszText in TOOLINFO structure. 2012-04-12 21:27:45 +02:00
Daniel Jelinski cd8609597a comctl32/tests: Added tests for treeview TVM_HITTEST message. 2012-04-05 14:51:33 +02:00
Daniel Jelinski c52d7acf54 comctl32/tests: Added test for treeview expand notifications on keyboard events. 2012-04-02 18:37:06 +02:00
Nikolay Sivov b326426fec comctl32: Use single notification message for setting all item state with LVM_SETITEMSTATE (LVS_OWNERDATA case only). 2012-03-26 18:15:51 +02:00
Nikolay Sivov f296c84feb comctl32: Update thumb position on autopage instead of deferring it. 2012-03-13 10:30:08 +01:00
Owen Rudge ffbdd27268 comctl32/datetime: Fix AM/PM handling with 12-hour fields. 2012-03-12 10:46:41 +01:00
Owen Rudge 74d1c11684 comctl32/datetime: Allow entering 'AM' or 'PM' via keyboard. 2012-03-12 10:46:35 +01:00
Owen Rudge 9147e7fd22 comctl32/datetime: Don't check box if no valid date set. 2012-03-12 10:46:14 +01:00
Owen Rudge 9de240bd0e comctl32/datetime: Don't allow an invalid year to be typed in. 2012-03-12 10:46:06 +01:00
Owen Rudge 3f93230812 comctl32/datetime: Ensure up/down/home/end increments remain within bounds. 2012-03-12 10:45:59 +01:00
Owen Rudge c8c3c4be91 comctl32/datetime: Check dates are within range in SetSystemTime. 2012-03-12 10:45:47 +01:00
Owen Rudge 300140e2cb comctl32/tests: Add test for DTM_SETSYSTEMTIME outside range limit. 2012-03-12 10:45:21 +01:00
Owen Rudge 72f174192b comctl32/monthcal: Check both min and max ranges in IsDateInValidRange. 2012-03-12 10:45:18 +01:00
Nikolay Sivov 3d4a4dae70 comctl32: Update thumb position on WM_MOUSEMOVE instead of deferring it. 2012-03-12 10:11:28 +01:00
Nikolay Sivov 0cae0842b9 comctl32/tests: Fix test failures running on February 29. 2012-02-29 10:32:09 +01:00
Francois Gouget 07d9d04de8 comctl32/tests: Make cbt_hook_proc() static. 2012-02-20 11:47:55 +01:00
Frédéric Delanoy 3c13f991e4 comctl32/tests: Use initialized window handle when rebuilding toolbar (Coverity). 2012-02-20 11:38:35 +01:00
Nikolay Sivov 31b44fb6e8 comctl32: Fix TB_SETEXTENDEDSTYLE to use mask passed in wParam. 2012-02-16 11:48:51 +01:00
Nikolay Sivov a4e2f47c2d comctl32: Trace Header order array contents. 2012-02-13 13:09:45 +01:00
Nikolay Sivov e508eae7d7 comctl32: Update ticks on TBM_SETRANGE. 2012-02-13 13:09:45 +01:00
Nikolay Sivov 11de98be34 comctl32: Update ticks on TBM_SETRANGEMIN. 2012-02-13 13:09:45 +01:00
Nikolay Sivov abde0c21e3 comctl32: Update ticks on TBM_SETRANGEMAX. 2012-02-13 13:09:45 +01:00
Nikolay Sivov e630e4997d comctl32: A test for auto-set TBSTYLE_TRANSPARENT style. 2012-02-09 09:39:58 -06:00
Nikolay Sivov b32b969eb6 comctl32: Invalidate before item is removed. 2012-02-08 10:50:12 -06:00
Michael Stefaniuc 482a5746ee comctl32: Remove an obsolete resource attribute. 2012-02-07 09:32:30 -06:00
André Hentschel 91a63ad08c comctl32/tests: Add some more thumb length tests. 2012-02-06 10:27:22 -06:00
Nikolay Sivov 1c1b1c0073 comctl32: More tests for Toolbar window style handling. 2012-02-01 16:42:45 +01:00
Thomas Faber 2fb139ffe7 comctl32: Fix MSVC build in imagelist.c. 2012-01-30 20:44:50 +01:00
Nikolay Sivov 91fbef88bf comctl32: Never release state image list. 2012-01-30 12:04:58 +01:00
Thomas Faber 05253f900f comctl32: Fix MSVC build in monthcal.c. 2012-01-30 11:51:35 +01:00
André Hentschel 80d9017e03 comctl32: Test and fix WM_GETTEXTLENGTH for statusbars. 2012-01-23 16:06:52 +01:00
Austin English 913fb67a5b comctl32: Fix a grammar error in comment. 2012-01-12 12:24:40 +01:00
Alexandre Julliard e0cc9a798b comctl32/syslink: Fix painting of background color for transparent controls. 2012-01-12 12:20:46 +01:00
Alexandre Julliard ff71cc2ca4 comctl32: Fix management of imagelist growth amount. 2012-01-11 17:47:31 +01:00
Nikolay Sivov e3688c2f9a comctl32: Remove redundant parameter from a helper. 2012-01-09 12:22:47 +01:00
Nikolay Sivov 9188b58e4c comctl32: Store style bits provided with WM_CREATE. 2012-01-09 12:22:39 +01:00
Nikolay Sivov 54b6c76720 comctl32: Fix TB_SETSTYLE behaviour and return value. 2012-01-09 12:22:31 +01:00
André Hentschel 9e0517ac6d comctl32: Also free pszHeaderTitle and pszHeaderSubTitle in DestroyPropertySheetPage. 2011-12-29 17:56:51 +01:00
Nikolay Sivov fade32b515 comctl32: Block selection change depending on TCN_SELCHANGING result. 2011-12-27 16:55:05 +01:00
Frédéric Delanoy 8d6f9e3036 comctl32: Avoid using uninitialized value (Coverity). 2011-12-20 20:24:00 +01:00
Nikolay Sivov 73354ef9d2 comctl32: Fix parameter validation for CreateMRUListLazyA(). 2011-12-20 10:10:32 +01:00
Alexandre Julliard 9c9e8dd141 comctl32/tests: Fix a test failure on older Windows. 2011-12-16 19:47:27 +01:00
Alexandre Julliard e0fc985f32 comctl32: Use GetDIBits to retrieve the default color map for an imagelist DIB section. 2011-12-16 17:40:31 +01:00
Alexandre Julliard 40cf298c75 comctl32: Use DrawIconEx to copy icon bits and use the correct background color. 2011-12-16 17:40:30 +01:00
Alexandre Julliard 65b7eb2635 comctl32/tests: Add some more tests for ImageList_Write. 2011-12-16 17:40:27 +01:00
Alexandre Julliard 129f48a692 comctl32: Don't try to mask out the image for palette-based bitmaps. 2011-12-15 10:49:03 +01:00
Nikolay Sivov 485fde811d comctl32/listview: Create header when LVS_EX_FULLROWSELECT is requested. 2011-12-09 21:15:26 +01:00
Alexandre Julliard 64f4c4161c comctl32: Convert dialogs to po files. 2011-12-05 20:38:21 +01:00
Nikolay Sivov dfbe664548 comctl32/listview: Create header when LVS_EX_GRIDLINES style is set. 2011-12-05 12:23:24 +01:00
Alexandre Julliard 682b03731c comctl32: Fix text wrapping in syslink when an item starts in the middle of a line. 2011-12-01 20:30:16 +01:00
Alex Henrie d8906da528 comctl32: Update Catalan translation. 2011-11-30 12:22:12 +01:00
Frédéric Delanoy 954e6eba7e comctl32: Avoid hardcoding array lengths. 2011-11-22 10:53:33 +01:00
Alexandre Julliard e6cf9fbcc2 comctl32: Merge imagelist definitions into the C file. 2011-11-21 11:47:24 +01:00
Alexandre Julliard d0b1b4c7b0 comctl32: Avoid accessing imagelist internals. 2011-11-21 11:43:06 +01:00
Alexandre Julliard ee462a7801 comctl32: Take the total bitmap size into account when reading a bottom-up image list. 2011-11-21 11:42:48 +01:00
Frédéric Delanoy eae3c2ae27 comctl32: Avoid hardcoding array lengths. 2011-11-18 15:36:53 +01:00
Alexandre Julliard 11c2150dd9 comctl32/syslink: Wrap the link text on \n characters. 2011-11-18 14:26:17 +01:00
Alexandre Julliard d8241b8db6 comctl32: Avoid losing the color masks in CreateMappedBitmap. 2011-11-16 20:26:30 +01:00
Alexandre Julliard 73b9dc98eb comctl32: Setup the alpha channel also when reading an imagelist from a stream. 2011-11-15 22:11:15 +01:00
Alexandre Julliard 4c785235d0 comctl32: Add a couple of DIB helper functions for imagelists. 2011-11-15 22:10:45 +01:00
Michael Stefaniuc 43a95a9b03 include: Fixup "long" numeric constants in commctrl.h. 2011-11-09 11:35:25 +01:00
Henri Verbeet b99a2a9ff8 comctl32: Avoid using __FUNCTION__ in ranges_check. 2011-11-07 11:32:38 +01:00
Michael Stefaniuc e443948d94 comctl32: Drop 'inline' from a function using sigsetjmp. 2011-10-31 23:53:41 +01:00
Huw Davies 66fe4e74cb comctl32: Initialise the mask's colour table. 2011-10-28 17:26:56 +02:00
Alex Henrie 83c72e874a comctl32: Add Catalan translation. 2011-10-20 11:04:59 +02:00
Nikolay Sivov 482d80cf16 comctl32/tests: Make state data accessible to caller (Valgrind). 2011-10-18 15:12:47 +02:00
Nikolay Sivov ea96417f83 comctl32/monthcal: Update pointer after reallocation (Valgrind). 2011-10-18 15:12:37 +02:00
Francois Gouget 07cfe3ea51 comctl32/tests: Make impl_from_IStream() static. 2011-10-13 19:57:19 +02:00
Peter Schellenbach 9751a946e3 comctl32/statusbar: Fixed missing icon in owner draw panels. 2011-10-08 20:22:24 +02:00
Marko Nikolic 154d088eb9 comctl32/tests: Removed sign comparison warning in datetime tests. 2011-10-06 12:27:39 -05:00
Marko Nikolic b76e2daec2 comctl32/tests: Removed sign comparison warning in dpa tests. 2011-10-06 12:26:51 -05:00
Nikolay Sivov 1bc331f31f comctl32/treeview: Free checkbox imagelist when control is about to be killed. 2011-10-03 14:39:03 -05:00
Nikolay Sivov ce6819d93d comctl32/tests: Fix a test that depends on control size. 2011-10-03 11:26:55 -05:00
Nikolay Sivov 40c783fcc1 comctl32/monthcal: After notification safely free buffer allocated on heap. 2011-10-03 09:45:33 -05:00
Nikolay Sivov 5e2ede6c4d comctl32/monthcal: Also invalidate today label while setting new today date. 2011-09-30 10:31:03 -05:00
Nikolay Sivov c28a1d019d comctl32/monthcal: Fix week numbers background color. 2011-09-30 10:30:57 -05:00
Michael Stefaniuc d8213b468a comctl32/tests: Don't accept Win95 behavior. 2011-09-27 16:24:26 +02:00
Michael Stefaniuc af27b03967 comctl32/tests: Standardize COM in imagelist.c. 2011-09-27 16:24:26 +02:00
Francois Gouget bd7b345b26 Assorted spelling fixes & co. 2011-09-27 11:00:13 +02:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Francois Gouget 76b6c8f517 comctl32: Send a WM_CTLCOLORSTATIC message and erase the background while painting. 2011-09-26 22:42:02 +02:00
Francois Gouget e6368a040c comctl32/tests: Add basic tests for the SysLink control. 2011-09-26 22:42:02 +02:00
Nikolay Sivov 6766535408 comctl32/monthcal: Fix jump to today date. 2011-09-23 14:19:31 +02:00
Nikolay Sivov d3758e02b8 comctl32/monthcal: Properly adjust day of week in MCM_SETCURSEL. 2011-09-23 14:19:25 +02:00
Nikolay Sivov d6349844e6 comctl32/monthcal: Correct MCM_SETTODAY handler return value. 2011-09-23 14:19:18 +02:00
Nikolay Sivov efbb419621 comctl32/monthcal: Fix some day state problems. 2011-09-23 14:19:13 +02:00
Nikolay Sivov b11208e5f8 comctl32/monthcal: Fix MCM_GETMONTHRANGE with regard to multiple calendars and parameter handling. 2011-09-23 14:19:07 +02:00
Francois Gouget 701415f045 comctl32: Not visited links use HotTrackingColor for the text. 2011-09-22 19:51:50 +02:00
Nikolay Sivov 23dfef0d9e comctl32/monthcal: Enable multiple calendars support. 2011-09-22 19:51:50 +02:00
Nikolay Sivov 229d4e2109 comctl32/monthcal: Fix today date box painting. 2011-09-20 16:21:40 +02:00
Nikolay Sivov 57a70f4924 comctl32/monthcal: Fix today label position. 2011-09-20 16:21:40 +02:00
Nikolay Sivov 0d3b04d033 comctl32/monthcal: Implement MCM_GETCALENDARCOUNT. 2011-09-20 16:21:40 +02:00
Francois Gouget 01378c5c8e comctl32: Don't crash when getting a bad image list handle. 2011-09-19 18:32:51 +02:00
Nikolay Sivov ca533fca8c comctl32/monthcal: Fix MCM_SETSELRANGE for multiple calendars case. 2011-09-19 17:56:05 +02:00
Nikolay Sivov 2c6443ae57 comctl32/monthcal: Fix MCM_SETCURSEL for multiple calendars case. 2011-09-19 17:56:05 +02:00
Nikolay Sivov b83d9b3261 comctl32/monthcal: Fix hittesting in blank areas of multiple calendars case. 2011-09-19 17:56:05 +02:00
Nikolay Sivov fec346b36d comctl32/monthcal: Properly compute maximum date for control. 2011-09-15 15:41:41 +02:00
Nikolay Sivov e716421393 comctl32/monthcal: Store calendars matrix dimensions instead of overall count. 2011-09-15 15:41:41 +02:00
Francois Gouget 5464d5423a comctl32/tests: Use the PROPSHEETHEADERA_V1_SIZE macros for compatibility with old comctl32 versions. 2011-09-09 16:10:31 +02:00
Francois Gouget 31a24ca7af comctl32: Fix the wizard and property sheet dialog styles. 2011-09-08 20:08:06 +02:00
Francois Gouget 325275304c comctl32/tests: Check the styles of the wizard and property sheet dialogs. 2011-09-08 20:07:51 +02:00
Gerald Pfeifer a17463b1e4 comctl32: Remove dead code from MONTHCAL_HitTest. 2011-09-08 11:22:04 +02:00
Nikolay Sivov 354d41685f comctl32/monthcal: Make day drawing helpers aware of multiple calendars. 2011-09-07 18:13:29 +02:00
Francois Gouget 6deccab6c9 comctl32: Property sheets must be able to redraw themselves even if no page is selected. 2011-09-06 12:23:55 +02:00
Andrew Talbot 92c408cd66 comctl32: Remove unneeded address-of operator from function name. 2011-08-30 11:54:40 +02:00
André Hentschel 030ea68963 comctl32/tests: Fix printing a NULL string. 2011-08-30 11:53:01 +02:00
Alexandre Julliard bd3b0e4f70 comctl32: Simplify the DIB byte width computation. 2011-08-29 12:08:21 +02:00
Andrew Talbot dd5a1913ae comctl32: Fix a logical operator typo. 2011-08-29 12:08:19 +02:00
Alexandre Julliard 2ebb30633e comctl32: Create the WinSxS manifest from a resource. 2011-08-25 15:34:16 +02:00
Owen Rudge 2d8ad31e22 comctl32: Fix incorrect use of border metrics. 2011-08-22 17:16:47 +02:00
Nikolay Sivov c13bf5a58c comctl32/treeview: Set edit box text before notification and keep it after. 2011-08-22 16:14:35 +02:00
Andrew Talbot 072ca07de9 comctl32: Remove redundant function declaration. 2011-08-22 16:14:32 +02:00
Andrew Talbot 8a4b7f9f22 comctl32: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Florian Köberle e68b9f9fc9 comctl32/header: Don't free the imagelist in HEADER_NCDestroy. 2011-08-04 09:06:54 +02:00
Florian Köberle 9a616111da comctl32/tests: Test that headers do not free their image list. 2011-08-04 09:06:51 +02:00
Richard Bradbrook 5495b53eb1 comctl32: Make ComboBoxEx draw its contents even when disabled. 2011-08-03 17:37:55 +02:00
Richard Bradbrook f9d9720d25 comctl32: Fix to ComboBoxEx processing of WM_ENABLE message. 2011-08-03 17:37:53 +02:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
André Hentschel a355121414 user32: Fix for finding nested default buttons. 2011-07-28 19:54:46 +02:00