Commit Graph

2302 Commits

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