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
Phil Krylov
a05bfbfb86
comctl32: Fix rebar autosize behaviour.
...
Allow autoresizing rebar by PostMessage(hwndRebar, WM_SIZE, 0, 0) like
native does, taking as few rows as possible and using the parent
window client area size for the other dimension (width for horizontal
rebars or height for vertical ones).
2006-01-09 18:41:45 +01:00
Francois Gouget
6d442aeb34
Assorted spelling fixes.
2005-11-23 20:14:43 +01:00
Michael Kaufmann
e9310da57b
Handle WM_PRINTCLIENT.
...
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Francois Gouget
a1f9a13997
Use "static const" rather than "const static" as gcc -W complains
...
about the former.
2005-10-06 11:38:45 +00:00
Mike McCormack
c621a5801f
Fix if's that are followed by semicolons.
2005-09-20 11:37:58 +00:00
Mike McCormack
280bcf6e4a
Fix gcc 4.0 warnings.
2005-08-27 10:00:38 +00:00
Frank Richter
36258675ad
Add theming for the rebar control.
2005-08-11 17:05:18 +00:00
Robert Shearman
5a6461071e
Fix size passed to SPI_NONCLIENTMETRICS.
2005-03-27 17:52:16 +00:00
Francois Gouget
93416cdaf7
Assorted spelling fixes.
2005-03-23 13:15:18 +00:00
Dimitrie O. Paun
2c236638a9
Complete unicodification of the rebar common control.
2005-03-23 10:23:41 +00:00
Francois Gouget
fbb3343547
Assorted spelling fixes.
2005-03-02 13:53:50 +00:00
Robert Shearman
50d77e6877
- Fix one more place where the code assumes row indices are
...
zero-based.
- Document a known bug in the layout code.
2005-03-02 10:12:52 +00:00
Robert Shearman
6d582fed50
- Make row number be zero-based.
...
- Improvements to dumping functions to not dump out fields that may
not have been filled in.
2005-03-01 10:44:15 +00:00
Eric Pouech
cf1d00bb08
Removed excessive statement (break after return or goto, not useful
...
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Filip Navara
0e6c60076f
- Don't use DrawEdge with NULL device context, it's invalid call and
...
sets last error.
- Tooltip icons must be destroyed with DestroyIcon and not with
DeleteObject.
- Rebar cursors must be destroyed with DestroyCursor and not with
DeleteObject.
2004-12-07 14:27:43 +00:00
Alexandre Julliard
a79c534c0e
Avoid using the MAKEPOINTS macro, it's broken on big endian.
2004-11-24 18:28:31 +00:00
Robert Shearman
8d28e0314c
Remove unnecessary WNDPROC casts.
2004-11-06 03:49:03 +00:00
Robert Shearman
5e6e9fb120
Correct the date of the completeness audit.
2004-10-21 19:56:32 +00:00
Robert Shearman
5d0c01c4e0
Rebar completeness audit.
2004-10-19 22:59:14 +00:00
Vitaliy Margolen
477aa4501b
Don't loose last band on insert.
2004-10-04 19:07:24 +00:00
Hans Leidekker
411fc5f164
Fix signed/unsigned comparison warnings.
2004-09-02 23:00:53 +00:00
Robert Shearman
cdb263e588
Replace GetWindowLong by GetWindowLongPtr.
2004-08-25 17:33:01 +00:00
Ge van Geldorp
73d8c97f12
Always reset AUTO_RESIZE flag on exit from REBAR_ForceResize.
2004-05-02 04:21:48 +00:00
Filip Navara
0c954aebbd
Force resize before calling RBN_HEIGHTCHANGE notification.
2004-04-14 04:27:16 +00:00
Francois Gouget
b948778660
Assorted spelling fixes.
2004-03-23 23:20:16 +00:00
Mike McCormack
052144fd7b
Make sure the rebar size is above a minimum.
2004-03-19 19:14:30 +00:00
Filip Navara
ccd428e503
Support for RBBS_HIDETITLE style.
2004-03-16 19:14:30 +00:00
Mike McCormack
464e59f6a4
Make sure to take account of hidden bands during layout.
2004-03-13 19:24:29 +00:00
Mike McCormack
18eda48e59
Don't calculate the redundant and unused REBAR_ROW structures.
2004-03-12 20:23:39 +00:00
Ulrich Czekalla
9b83d4d4dc
Fix rebar band insertion and non-client calculation in pager control.
2004-03-12 19:29:51 +00:00
Matt Chapman
766fc7cc9c
REBAR_Layout should respect the minimum size of bands even when
...
RBBS_FIXEDSIZE is not set.
2004-02-27 04:32:54 +00:00
Matt Chapman
cc5d49f8cb
REBAR_ShowBand needs to force layout of the rebar after a band is
...
hidden/unhidden.
2004-02-27 00:43:04 +00:00
Francois Gouget
ad5ff7ceeb
Assorted spelling and case fixes.
2004-02-09 22:07:42 +00:00
Alexandre Julliard
d07c1004e3
Moved a few remaining 16-bit definitions out of the standard headers.
2004-01-23 22:51:41 +00:00
Mike McCormack
2de64d4b08
On a RB_SETBANDINFO message only redraw the rebar if something
...
changed.
2004-01-02 20:46:05 +00:00
Robert Shearman
fc58ef8119
Added chevron support.
2003-11-09 00:28:24 +00:00
Robert Shearman
fad1e1108e
Don't store band text if "" is passed into SetBandInfo.
2003-10-24 04:18:42 +00:00
Daniel Marmier
ee1eb63b31
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-07 03:30:47 +00:00
Dimitrie O. Paun
7de279a73a
Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}.
2003-09-22 21:32:33 +00:00
Alexandre Julliard
f5cb3dde17
Moved undocumented functions out of the exported commctrl.h.
2003-09-17 20:15:21 +00:00
Filip Navara
2773106058
Fixed definitions of TTTOOLINFOA/W_V1_SIZE and
...
REBARBANDINFOA/W_V3_SIZE.
2003-09-16 01:17:25 +00:00
Alexandre Julliard
cf52644a1c
Removed the A/W constants for builtin cursors, icons and resource
...
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Tony Lambregts
7ce3a5ad63
Replace DPRINTF with TRACE.
2003-03-14 04:11:17 +00:00
Michael Stefaniuc
745a78f490
Remove some unreachable code.
2003-02-24 20:48:45 +00:00
Dan Kegel
0fd521fee3
Change RECT to use LONG to match win32 standard headers and fix format
...
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Rolf Kalbermatter
6c79930413
Add config.h/port.h to allow compilation/linking in MSVC.
...
Fix some unsigned/signed warnings.
2002-12-16 22:43:58 +00:00
Alexandre Julliard
18d029722f
Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
...
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Francois Gouget
d2667a4ce3
Removed unnecessary HANDLE typecasts.
2002-12-02 18:10:57 +00:00
Michael Stefaniuc
353529b2c8
- fix the "int format, HANDLE arg" type of warnings for comctl32
...
- compile the comctl32 dll with -DSTRICT
2002-10-23 22:19:10 +00:00
Patrik Stridvall
1a4db3e72a
Cleaned up the code so it would be easier to parse with the new C
...
parser.
2002-09-23 20:45:57 +00:00
Michael Stefaniuc
025c0b716b
Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
...
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00
Guy L. Albertelli
23739a339a
Don't issue error message if message number in application range.
2002-07-16 01:23:59 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Guy L. Albertelli
71e4b98f5a
Adjust the child offset x value based on band style RBBS_CHILDEDGE.
2002-04-05 21:13:32 +00:00
Guy L. Albertelli
6db25faed2
- Correct RBN_CHILDSIZE rect value for CCS_VERT rebar.
...
- Do UpdateWindow only if doing redraws when doing layout.
2002-03-20 00:49:06 +00:00
Guy L. Albertelli
8a8457e25a
Add support for WM_WINDOWPOSCHANGED to save new origin of window.
2002-03-11 01:16:02 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andreas Mohr
8bc7f16caa
Spelling/alignment fixes.
2002-02-27 01:34:08 +00:00
Guy L. Albertelli
9ce993206d
Fix another bad test. Caused regression in IE 4.
2002-02-26 00:34:48 +00:00
Guy L. Albertelli
d2ace6addd
Fix regression in some programs due to CLR_DEFAULT fix. Noticed in
...
control-spy rebar.exe.
2002-02-12 18:43:24 +00:00
Guy L. Albertelli
75c2df8ede
Fix problem exposed by the improvements in version 8b. Demonstrated by
...
OE 4.
2002-02-04 18:30:13 +00:00
Andreas Mohr
2295e87be8
Fixed some more missing parenthesis issues.
2002-02-02 18:06:03 +00:00
Guy Albertelli
390c6dfb93
Text/Bkgnd color fixes.
2002-01-29 16:52:24 +00:00
Guy Albertelli
935331f6da
Fix a gripper issue and the adjustment of bands when RBBS_FIXEDSIZE
...
specified.
2002-01-14 18:32:42 +00:00
Sander van Leeuwen
fcc148b283
Never delete the font object received by WM_SETFONT.
2002-01-04 21:50:01 +00:00
Guy L. Albertelli
91fc357226
- Handle CCS_NODIVIDER both when present and when not.
...
- Handle some cases of CCS_TOP, CCS_BOTTOM, and CCS_NOPARENTALIGN.
- Handle values returned from the RBN_CHILDSIZE notification.
- Implement RBBS_CHILDEDGE.
- Fix some logic errors in REBAR_AdjustBands, and problems with CCS_VERT.
2001-09-07 18:34:14 +00:00
Alexandre Julliard
41d6a96a60
Removed inclusion of win.h.
2001-08-24 19:15:52 +00:00
Guy L. Albertelli
d1c46851e1
- Implemented RB_MAXIMIZEBAND for the "ideal=TRUE" case.
...
- Implemented NM_CUSTOMDRAW notifications for the ITEMPREPAINT and
ITEMPOSTPAINT only. (Used by IE4 - go figure.)
- Invalidate window rectangles after certain RB_ messages like the
native. Fixed some painting problems.
- Added UpdateWindow call in _MoveChildWindows to fix other painting
problems.
- Set the Caption Font as the default font for all bands.
2001-08-13 20:11:34 +00:00
Guy L. Albertelli
6eb7273e82
- Fix handling of text color.
...
- Correct implementation of WM_SETREDRAW to be closer to native.
- Do more implementation of RBS_AUTOSIZE in the WM_SIZE processor.
- Implement RBBS_VARIABLEHEIGHT. Used by IE4.
- Do more testing in WM_SIZE to handle strange cases like native.
2001-07-20 17:58:12 +00:00
Guy L. Albertelli
2420fa983d
- Move creation process to the WM_NCCREATE message like native and force
...
styles WS_VISIBLE and CCS_TOP.
- Implement messages WM_NCHITTEST, WM_STYLECHANGED, RB_MOVEBAND,
RB_MINIMIZEBAND.
- Improve preformance by removing calls to GetWindowLong for GWL_STYLE
(by saving state and handling WM_STYLECHANGED).
- Cleanup and remove dead and test code.
2001-07-08 20:31:11 +00:00
Guy L. Albertelli
6ae29d6ac0
RBBS_FIXEDSIZE should not affect _AdjustBands (found by Mike McCormack
...
in WinZip).
2001-07-02 17:59:11 +00:00
Guy L. Albertelli
ea478c62a1
- Add support for WM_NOTIFYFORMAT and support both ANSI and UNICODE
...
notify formats.
- Move the drawing of the band backgrounds and band separators to the
WM_ERASEBKGND processing just the way the native controls do.
- Implement WM_SETREDRAW.
2001-06-24 00:22:55 +00:00
Guy L. Albertelli
5e7b201400
- correct rebar window borders and handling of RBS_BORDERS, now
...
matches native.
- major redesign of band layout, now comes a lot closer to native for
the test programs.
- support RBS_VARHEIGHT for both on and off.
- better debug info, and performance improvement
2001-06-11 20:12:11 +00:00
Guy L. Albertelli
6044b98556
- Notify parent of child size changes when changes are from WM_SIZE
...
messages.
- If more than one band exists, then first band may have a gripper.
- Fix the band layout algorithm to handle some issues from WinARA.
2001-04-20 18:27:42 +00:00
Guy L. Albertelli
0d2df474aa
- Correct RBN_CHILDSIZE band rectangle to match native.
...
- Correct flags in DeferWindowPos to SWP_NOZORDER to match native.
- Make handling ComboBox and ComboBoxEx the same when moving child
windows.
2001-03-16 16:41:32 +00:00
Guy L. Albertelli
8673f91b9e
- make hidden bands have valid (0 width) child window areas
...
- when hiding a band, don't show the window, hide it.
2001-01-26 20:36:53 +00:00
Guy L. Albertelli
943ba3f1bc
- Implement drag for vertical rebars (drag up and down).
...
- Better algorithims for inserting new bands - matches native version
closer.
- Make drawing of rebar attempt to match native pixel by pixel (note
this does not fix the embedded controls in each band - they still are
as good or bad as before.)
- Implement some of the notifications (RBN_HEIGHTCHANGE, _CHILDSIZE,
_DELETINGBAND, _DELETEDBAND).
2000-12-18 03:13:19 +00:00
Alexandre Julliard
ef57e18f99
Removed some unnecessary includes.
2000-12-01 21:32:55 +00:00
Dimitrie O. Paun
ef7a5c1b8c
Fixed a few compilation warnings.
2000-11-29 00:03:27 +00:00