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
Dmitry Timoshkov
3c9e7a7f33
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
2007-05-25 20:37:56 +02:00
Andrew Talbot
bd51f1c98f
comctl32: Constify some variables.
2007-04-02 11:37:18 +02:00
Andrew Talbot
74ab88ca97
comctl32: Replace inline static with static inline.
2007-03-17 20:03:19 +01:00
Stefan Huehner
20223d3d2e
comctl32: rebar: Test the rebar style for RBBS_VARIABLEHEIGHT, not the passed in structure.
2007-03-13 13:22:47 +01:00
Michael Stefaniuc
22ecd7aa67
comctl32: Remove redundant NULL checks before Free() (found by Smatch).
2007-03-08 11:58:04 +01:00
Andrew Talbot
80103832c8
comctl32: Replace const pointer parameter with correct pointer to const.
2007-03-06 12:10:35 +01:00
Mikołaj Zalewski
9b4191eaf8
comctl32: rebar: Remove the not needed BANDS_NEED_LAYOUT flag.
2007-03-01 11:38:37 +01:00
Mikołaj Zalewski
95d0e58659
comctl32: rebar: WM_SETFONT should send a RBN_HEIGHTCHANGE if necessary.
2007-03-01 11:38:24 +01:00
Mikołaj Zalewski
a02a680b72
comctl32: rebar: Test the RBN_HEIGHTCHANGE notify and do some fixes.
2007-02-26 14:07:40 +01:00
Mikołaj Zalewski
3f5458dc95
comctl32: rebar: Store the oldSize as a local variable.
2007-02-20 11:43:47 +01:00
Mikołaj Zalewski
a268538e0e
comctl32: rebar: Store the coordinates of infoPtr->calcSize swapped for CCS_VERT.
2007-02-20 11:43:36 +01:00
Mikołaj Zalewski
ffbf61ae55
comctl32: rebar: Test and fix the WM_SIZE handler and REBAR_ForceResize.
2007-02-20 11:43:13 +01:00
Mikołaj Zalewski
f0a7a74666
comctl32: rebar: Rewrite the layout code.
2007-02-20 11:40:19 +01:00
Mikołaj Zalewski
1ee6c9e3c5
comctl32: rebar: Fix lpBand->lpText memory leak in DeleteBand and simplify the code.
2007-02-05 12:28:49 +01:00
Mikołaj Zalewski
95c74f19a7
comctl32: rebar: Merge SetBandInfoA and SetBandInfoW.
2007-02-05 12:28:41 +01:00
Mikołaj Zalewski
0f77096706
comctl32: rebar: Merge GetBandInfoA and GetBandInfoW.
2007-02-05 12:28:33 +01:00
Mikołaj Zalewski
d8d5196ddb
comctl32: rebar: Merge InsertBandA and InsertBandW.
2007-02-05 12:28:24 +01:00
Mikołaj Zalewski
8909419b55
comctl32: rebar: Add some tests for rebar and change the way the header size is fixed.
2007-02-05 12:27:45 +01:00
Dmitry Timoshkov
bd53138fc8
comctl32: Make some data const.
2006-11-29 12:44:23 +01:00
Francois Gouget
1ccf944900
Assorted spelling fixes.
2006-11-13 13:01:53 +01:00
Alexandre Julliard
7cca856315
comctl32: Properly handle negative coordinates for mouse events.
2006-10-25 17:41:48 +02:00
Mikołaj Zalewski
4205c64e8b
comctl32: rebar: Use SM_CYEDGE for heights in NCCalcSize.
2006-10-17 11:17:50 +02:00
Mikołaj Zalewski
1b8c98d35d
comctl32: rebar: Don't return rectangles with negative width or height in NCCalcSize.
2006-10-16 20:10:34 +02:00
Mikołaj Zalewski
b793472232
comctl32: rebar: bUnicode and NtfUnicode should be the same.
2006-10-16 11:29:40 +02:00
Michael Ploujnikov
1c16d83379
comctl32: Win64 printf format warning fixes.
2006-10-14 20:17:06 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Thomas Weidenmueller
870d37ff60
comctl32: Rebar size fix.
...
Rebars without any bands should have a height/width of 0.
2006-03-28 12:34:25 +02:00