Commit Graph

79 Commits (dfdeaaf9226c62395db3901ff570750bde3522fe)

Author SHA1 Message Date
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
Ken Thomases f9e280aab3 Restore accidentally undone changes. 2000-05-10 21:42:53 +00:00
Gerard Patel a1b2fc2a80 Protect against use of comctl32 private control memory after it has
been freed.
2000-05-10 01:34:53 +00:00
Aric Stewart 8ee3144a77 Added the ability to use multiline tab controls to wine. 2000-05-09 22:33:48 +00:00
Yuxi Zhang 2c0f14af3b Stephen Mereu
TabCtrl leftmostVisible is not updated properly. It caused the QP
application bar on the bottom fail to bring back the items when there
is no need to scrolling. Also fixed a bug that when an item is inserted,
setItemBounds should be called first, then it's time to invalidate.
2000-04-08 20:23:00 +00:00
Alexandre Julliard 047513f3de Don Kelly
In Windows Property Sheet can have any mix of icon-less tabs and tabs
with icons.  Adds a check to see if the icon we're adding is non-NULL
(otherwise random junk from memory can be rendered) when the application
has specified the PSP_USEICONID flag is set.  Changes to the Tab control
to only render icons for tabs that have the TCIF_IMAGE flag set
(previously, if the flag was set the entire image list of icons was
rendered).

Stephane Lussier <stephane@macadamian.com>
Fixes for some tab control bugs

Henning Hoffmann
Fixed some width problem with OWNERDRAW tab.

Luc Tourangeau <luc@macadamian.com>
TCM_ADJUSTRECT is now returning consistant compare to Windows.

Serge Ivanov <sergei@corel.ca>
Fixed problem with tab selection. When you select tab it becames first
visible tab. Now leftmost visible tab is calculated properly.
- Added code for correct handling of updown control.
- Forced recalculation of tabs' coordinates when:
a) all items are deleted,
b) window style is canged
2000-02-26 18:31:01 +00:00
Andreas Mohr f4185f63d0 Spelling fixes. 2000-02-20 19:17:15 +00:00
Alexandre Julliard d711ad9e0a Removed superfluous GlobalFindAtom calls. 2000-02-13 15:10:16 +00:00
Andreas Mohr 7fb732e597 Fixed compiler warnings. 1999-12-12 00:47:51 +00:00
Niels Kristian Bech Jensen c69a80c31d Compiler warnings fixed. 1999-11-28 20:31:04 +00:00