Commit Graph

2327 Commits

Author SHA1 Message Date
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