Commit Graph

82 Commits

Author SHA1 Message Date
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
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Dmitry Timoshkov 77b2185e1c Remove redundant includes.
Eliminate use of USER internal structures.
2000-11-15 22:15:52 +00:00
Guy L. Albertelli 418efdc410 Implement dragging on gripper to expand and compress bands. Actual
moving bands to different rows will be later.
2000-11-13 19:29:16 +00:00
Marcus Meissner 6e9c506f4e Pass up WM_DRAWITEM messages to parent. 2000-11-04 02:54:32 +00:00