Commit graph

144 commits

Author SHA1 Message Date
Lei Zhang
3980401231 comctl32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Austin English
c2a7914d1c comctl32: Spelling fixes. 2008-01-24 11:43:02 +01:00
Andrew Talbot
863ffb719b comctl32: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Lei Zhang
f2519fdcda comctl32: Set tab focus correctly. 2007-10-30 11:31:38 +01:00
Lionel Debroux
58b743161b comctl32: Remove redundant NULL check before free (found by Smatch). 2007-10-22 12:36:08 +02:00
Aric Stewart
3822aa4b63 comctl32: TCM_SETCURSEL also updates the focus item. 2007-09-10 15:29:46 +02:00
Alexandre Julliard
0f63ad92cc comctl32: Remove useless pointer check. 2007-06-13 11:19:36 +02:00
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
8366dd1703 comctl32: Constify some variables. 2007-04-03 11:21:17 +02:00
Hagop Hagopian
637a6116e2 comctl32: tab: Minor bug fixes in the curSel and curFocus getters and setters. 2007-03-19 12:16:41 +01:00
Felix Nawothnig
0f2f718dea comctl32: Layout and redraw on TCM_SETIMAGELIST. 2007-03-13 21:54:47 +01:00
Michael Stefaniuc
22ecd7aa67 comctl32: Remove redundant NULL checks before Free() (found by Smatch). 2007-03-08 11:58:04 +01:00
Felix Nawothnig
8784d47cba comctl32: Remove redundant NULL checks before Free() calls. 2007-02-14 12:22:39 +01:00
Felix Nawothnig
79e265accd comctl32: Remove unnecessary and misused mask member from TAB_ITEM. 2007-02-07 11:03:01 +01:00
Thomas Weidenmueller
2c620c8269 comctl32: Fix the TAB_ITEM_SIZE macro. 2007-02-05 12:25:16 +01:00
Oleg Krylov
32caf30f9c comctl32: Create tooltip windows with WS_POPUP style. 2006-10-25 20:21:34 +02:00
Alexandre Julliard
7cca856315 comctl32: Properly handle negative coordinates for mouse events. 2006-10-25 17:41:48 +02:00
Michael Ploujnikov
1c16d83379 comctl32: Win64 printf format warning fixes. 2006-10-14 20:17:06 +02:00
Francois Gouget
82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
James Hawkins
aa57ad373d comctl32: A couple fixes for tab icon offsets.
- Shift selected icons up and non-selected icons down.
- Add the top or left draw rect to the vertical offset, because it may
  not be zero.
2006-03-23 20:20:33 +01:00
Tobias Loew
1911eed08e comctl32: Fix tab-control flickering. 2006-01-30 14:57:26 +01:00
Michael Kaufmann
e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Dmitry Timoshkov
592a81ab22 Avoid printing out a possibly uninitialized variable. 2005-11-02 19:56:24 +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
Vitaliy Margolen
059a8c15f2 Don't arrange tabs if there is only one line. 2005-10-03 18:46:07 +00:00
Frank Richter
9e57091ffa Fix warnings in 64bit. 2005-08-30 10:07:17 +00:00
Mike McCormack
280bcf6e4a Fix gcc 4.0 warnings. 2005-08-27 10:00:38 +00:00
Vitaliy Margolen
abd12e4dbf Fix handling of minimum tab width.
Add more tests to test it.
2005-08-23 10:05:54 +00:00
Aric Stewart
bf129c41de Fix for dreamweaver site definition dialog. Need to initialize the
rect for a tab control to an empty rect if it is not visible.
2005-08-22 14:07:22 +00:00
Frank Richter
b5940f7283 Fix text color for "button" style tabs when theming is enabled. 2005-08-11 18:35:00 +00:00
Frank Richter
c952f08ba8 Add theming support for the tab control. 2005-07-28 10:14:52 +00:00
James Hawkins
645ec7d6e2 Audit the Tab control. 2005-06-06 10:03:03 +00:00
James Hawkins
4d639be88b - Factor out common text shifting logic.
- Shift selected tab text up instead of down.
2005-06-04 09:37:22 +00:00
James Hawkins
1aa7afeed9 Fixed centering of tab text. 2005-05-17 10:19:37 +00:00
Aric Stewart
8a0f989891 Handle WM_NCCALCSIZE in the tab control. 2005-05-12 09:57:10 +00:00
Vitaliy Margolen
b58004d9ae Draw only visible tabs. 2005-04-13 14:40:12 +00:00
Dimitrie O. Paun
9da93dd879 Tab unicodification. 2005-04-11 14:21:15 +00:00
Francois Gouget
93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Jon Griffiths
3388eb0885 Remove unneeded calls to TAB_GetInfoPtr(), const fixes, inline small
funcs & remove unused parameters.
2005-02-25 16:19:07 +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
Vitaly Lipatov
6971e1d762 Add comments, fix negative value from GetCurFocus. 2005-01-03 20:12:42 +00:00
Alexandre Julliard
ebe3c529b1 Janitorial: C booleans must not be compared against TRUE. 2004-12-09 14:07:59 +00:00
Thorsten Kani
d93d3d5ada Use address of tab_item.extra when building drawitemstruct. 2004-10-26 00:22:31 +00:00
Jon Griffiths
ef138f090e Items are variable sized, use an accessor to get at them.
Combine A/W calls together to remove duplication.
Don't leak text when removing/changing items.
Turn off hot tracking when we delete the last item.
Use the 'delete 1 item' logic when deleting all items.
2004-10-09 02:27:00 +00:00
Robert Shearman
62d60b9b39 - Set hbrBackground class property to same value as native.
- Remove no longer needed WM_ERASEBKGND handler.
- Use Unicode window functions instead of ANSI.
2004-09-14 00:44:26 +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
Ulrich Czekalla
0d173d01a8 The rectangle passed in DRAWITEMSTRUCT is slightly too large as
compared with Windows.
2004-08-19 19:06:18 +00:00
Jon Griffiths
86a0e50a1d Don't crash on NULL tab text. 2004-07-16 02:30:48 +00:00