Commit Graph

143 Commits

Author SHA1 Message Date
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
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