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