88 Commits

Author SHA1 Message Date
Vitaliy Margolen
785bae8aae - Fix tab size for TCS_OWNERDRAWFIXED style.
- Correct size recalculation after setting tab width.
- Fix button sizes to match native.
- Center both vertically and horizontally tab text & icon.
- Use correct left/center alignment flags.
2003-10-31 00:06:42 +00:00
Maxime Bellengé
ed3847247e Fix TAB_DeleteItem and TAB_DeleteAllItems regressions introduced by
the last TAB_InvalidateTabArea changes.
Correct the indentation for these functions.
2003-10-21 23:44:03 +00:00
Maxime Bellengé
8147ee1095 Only redraw the necessary area of the tab component and not the whole
component like windows does.
2003-10-14 20:12:05 +00:00
Vitaliy Margolen
bd7bdbce3f Fix setting size of tab control. 2003-10-14 01:16:16 +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
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
Maxime Bellengé
bcd1222650 Implemented TAB_SetMinTabWidth and TAB_HighlightItem. 2003-09-02 00:56:43 +00:00
Maxime Bellengé
0485fc19b6 Fix bounding rectangle computation for an ownerdraw tab. 2003-04-30 00:50:26 +00:00
Stephan BEUZE
8410e71fb5 Implemented message TCM_SETPADDING with the Dimitri's advice. 2003-04-27 20:34:30 +00:00
Mike Hearn
c7b1874b54 Fix the tab height so the labels don't clip, and restore the offset
constant to what it was before.
2003-03-17 04:43:26 +00:00
Mike Hearn
c6914b202a - Reduced tab offset constant slightly to avoid clipping the label.
- Prevent label overdraw of updown control by reducing the width of
  the invalidated region.
2003-03-12 20:14:12 +00:00
Mike Hearn
6b2d22a0f6 It's not just height that can be set to the default by passing zero to
TCM_SETITEMSIZE, but also width.
2003-03-10 19:04:13 +00:00
Vitaliy Margolen
e6af4ec6bd Fix invisible tabs in TabControls with fixed tab width. 2003-03-04 04:34:03 +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
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
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
Guy L. Albertelli
533905e2ab - Add routines to dump out tab items internally and externally
- Adjust TAB_SetItemBounds to split vertical tabs more like the native.
- Document major difference in laying out the vertical tabs.
- Fix drawing of icons. Wrong item padding used in vertical case.
- Fixed size of horizontal padding.
2002-06-20 22:45:29 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Guy L. Albertelli
dea6820b29 - Fixed drawing of borders to that of native (uses DrawEdge).
- Fixed drawing of separators to match the native.
- Fixed height of tabs and buttons to match native.
- Add/improved traces.
- Handle WM_SYSCOLORCHANGE message.
2002-05-29 00:32:02 +00:00
Alexandre Julliard
4344c368cb Got rid of GetSysColorPen. 2002-05-20 18:15:28 +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
Gerard Patel
b3a3a8f3bc Forward tab notifications to the parent. 2001-12-24 20:24:58 +00:00
Nog
f12e130fc2 Pass on all unhandeled messages to the owner. 2001-12-17 20:52:11 +00:00
Francois Gouget
070e749cfb Don't prefix %p with 0x.
Various English fixes.
2001-11-06 21:01:32 +00:00
Patrik Stridvall
3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
Francois Gouget
ee285b7ac8 Remove unnecessary single quoting of debugstr_xxx strings. 2001-05-11 20:03:40 +00:00
Gerard Patel
09d64c83cf Don't send notifications for the initial display of the first tab of
the control.
2001-01-25 21:48:01 +00:00
Gerard Patel
ea241dcdbd Fixed TCM_GetRowCount. 2001-01-09 20:49:17 +00:00
Andreas Mohr
a6d83ebae1 - clarify many error messages
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Aric Stewart
844625cbc5 Fixed some difficulties with the font on vertical tabs. Also plugged a
resource leak.
2000-12-15 20:55:20 +00:00
Gerard Patel
4d975b328f Use DrawText to display text in horizontal tabs. 2000-12-12 00:35:20 +00:00
Eric Kohl
7379b89185 Removed calls to internal (non-exported) wine functions. 2000-11-25 01:27:42 +00:00
Eric Kohl
76386564a6 Use internal unicode strings.
Added unicode messages.
2000-11-15 22:15:11 +00:00
Francois Gouget
a2882e03f8 Use DrawFocusRect to draw the focus rectangle. 2000-11-07 20:26:51 +00:00
Alexandre Julliard
908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
Francois Gouget
7203ee6623 Use PS_ALTERNATE rather than PS_DOT.
Use Rectangle to draw focus rectangles.
2000-10-31 02:05:11 +00:00
Chris Morgan
7a6cf75f76 Implement TCS_VERTICAL style. Fix tab borders to have shading that
matches Windows.  Center image and text in tabs.  Size tabs to
completely fill each row with multiline style.  Fix positioning of
tabs for TCS_BOTTOM style.  Fix various drawing issues.
2000-10-25 20:31:18 +00:00
Susan Farley
b409cf62d4 Added support for FLATBUTTON style tabs.
Made width of BUTTON style tabs no less than 2x their height.
Expanded focus rect to be just inside the border.
2000-09-22 20:54:16 +00:00
Andreas Mohr
05aa048691 Fixed tab control to use HTTRANSPARENT when mouse hits client area,
but not tab control buttons.
2000-09-16 20:47:27 +00:00
Andreas Mohr
20cd9356a8 - fixes debugger output
- get rid of wrong comments
- fix comments
- .spec spelling fix
- improve warning message
2000-09-12 23:40:40 +00:00
Marcus Meissner
e89f6c4466 Implemented TCM_GETROWCOUNT. 2000-09-09 20:31:32 +00:00
Alexandre Julliard
c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Alexandre Julliard
5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Alexandre Julliard
70c9e095ef Removed all non-standard common control headers from the include
directory.
2000-08-09 00:41:17 +00:00
Aric Stewart
6274a7ab88 Corrected the problem where a tab control marked multiline but has
only one tab was being justified to fill the whole tab space.
2000-05-24 21:02:29 +00:00
Francois Gouget
244ad84f50 Convert C++ comments to regular C comments. 2000-05-18 00:05:10 +00:00
Ken Thomases
da2cd4d070 Implemented tab control style TCS_HOTTRACK (tabs are highlighted on
mouse-over).
2000-05-11 21:40:36 +00:00