Commit Graph

193 Commits

Author SHA1 Message Date
Francois Gouget
af10470597 comctl32: Add a trailing '\n' to an ERR() call. 2011-03-07 11:09:08 +01:00
Dmitry Timoshkov
9f91254c0f comctl32: 'clip' rect is unused in the WM_ERASEBKGND rebar class handler. 2011-03-02 18:00:36 +01:00
Nikolay Sivov
190f6ab158 comctl32/rebar: Don't use local variable with the same name as function parameter (Coverity). 2011-02-25 11:09:11 +01:00
Joel Holdsworth
90a8e3f37f comctl32/rebar: Implemented dragging between rows. 2011-01-10 12:41:37 +01:00
Joel Holdsworth
53284d2a18 comctl32/rebar: Moved drag notify code into REBAR_MouseMove. 2011-01-10 12:41:36 +01:00
Joel Holdsworth
ebadd4ec46 comctl32/rebar: Implemented band reordering within rows. 2011-01-10 12:41:35 +01:00
Joel Holdsworth
1e644a7db7 comctl32/rebar: Removed a redundant call. 2011-01-10 12:41:35 +01:00
Andrew Talbot
ebacf49f02 comctl32: Constify some variables. 2010-08-04 12:26:15 +02:00
Andrew Talbot
2b9ff98203 comctl32: Constify some variables. 2010-08-02 12:55:21 +02:00
Nikolay Sivov
fb1d5310ad comctl32/rebar: Use defined constants as parameters. 2010-06-07 13:52:17 +02:00
Nikolay Sivov
60e467a6cd comctl32/rebar: Fix index check condition for RB_SHOWBAND. 2010-06-07 13:48:27 +02:00
Nikolay Sivov
5eedf51df6 comctl32/rebar: Try to center child rectangle only if cyChild height is not zero. 2010-05-06 14:21:05 +02:00
Nikolay Sivov
70890031a3 comctl32/rebar: Don't try to access band data before it's needed. 2010-02-12 11:54:17 +01:00
Paul Vriens
9cf1af7cac comctl32: Fix size parameter for memset (Coccinelle). 2010-01-11 11:34:18 -06:00
Gerald Pfeifer
8b73b131de comctl32: Remove obsolete comment on RB_SETPALETTE from REBAR_WindowProc(). 2009-12-28 14:22:28 +01:00
Nikolay Sivov
46194d39f6 comctl32/rebar: Check for null handles before invalidation.
This prevents all windows invalidation.
2009-12-28 12:27:14 +01:00
Nikolay Sivov
02c06f0d66 comctl32/rebar: Avoid empty band range when changing layout. 2009-12-24 12:15:41 +01:00
Nikolay Sivov
7fa3778d8c comctl32/rebar: Fix default just inserted band colors. 2009-12-23 14:27:30 +01:00
Nikolay Sivov
48efba00b6 comctl32/rebar: Don't read outside of bands array on dragging. 2009-12-21 15:01:24 +01:00
Nikolay Sivov
07fc19bbe3 comctl32/rebar: Collapse some parameter checks and winproc entries. 2009-12-21 15:01:24 +01:00
Nikolay Sivov
b6abcb2f86 comctl32/rebar: Move parameter cast to winproc. 2009-12-21 15:01:24 +01:00
Nikolay Sivov
1e74d5992c comctl32/rebar: Use DPA to manage bands data. 2009-12-21 15:01:24 +01:00
Nikolay Sivov
9ee5f26570 comctl32/rebar: Use proper structure size in tests and parameter checks. 2009-06-30 12:31:51 +02:00
Andrew Talbot
f5d8fa6613 comctl32: Constify some variables. 2009-06-08 12:41:54 +02:00
Nikolay Sivov
109a10c961 comctl32/rebar: Use cached colors instead of GetSysColor for Rebar. 2009-05-19 15:40:31 +02:00
Igor Tarasov
08bd265f52 comctl32: Make REBAR_StyleChanged respect wParam. 2009-02-27 14:14:31 +01:00
Ricardo Filipe
422cd0bc3a comctl32: Removed dead increment (llvm/clang). 2008-11-21 11:28:40 +01:00
Michael Stefaniuc
b723e6f6b6 comctl32: Remove the superfluous casting of the LPVOID returned by Alloc(). 2008-10-24 14:24:59 +02:00
Mikołaj Zalewski
60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +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
Andrew Talbot
bab7871cac comctl32: Remove unused variables. 2008-04-14 12:09:13 +02:00
Austin English
06d429d6b6 Spelling fixes. 2008-03-27 20:48:19 +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
Mikołaj Zalewski
d3608cf4b2 comctl32: rebar: Fix SizeToHeight when no bands visible. 2008-03-07 10:52:38 +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
Andrew Talbot
8d555e825b comctl32: Assign to structs instead of using memcpy. 2008-02-12 23:00:03 +01:00
Lei Zhang
3980401231 comctl32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Austin English
c2a7914d1c comctl32: Spelling fixes. 2008-01-24 11:43:02 +01:00
Andrew Talbot
867f254bec comctl32: Remove unneeded casts. 2007-12-31 17:40:45 +01:00
Gerald Pfeifer
42677e25f7 comctl32: Simplify condition based on WPARAM always being >= 0. 2007-12-04 18:42:24 +01:00
Lei Zhang
019016f90f comctl32: Fix typo in rebar. 2007-11-02 12:50:55 +01:00