Commit Graph

159 Commits

Author SHA1 Message Date
Nikolay Sivov 48e7428964 comctl32/tab: Remove direct access to items array. 2009-03-30 15:07:47 +02:00
Nikolay Sivov 0e5dac618f comctl32/tab: Selected item should have TCIS_BUTTONPRESSED state. 2009-03-26 11:56:09 +01:00
Nikolay Sivov db60f69cba comctl32/tab: Handle state mask in TCM_[G,S]ETITEM. 2009-03-26 11:56:05 +01:00
Nikolay Sivov 751732e694 comctl32/tab: Draw tab button properly on TCIS_BUTTONPRESSED state. 2009-03-26 11:55:56 +01:00
Nikolay Sivov 92b0ad98e1 comctl32/tab: Implement TCM_[G,S]ETEXTENDEDSTYLE and TCS_EX_FLATSEPARATORS style. 2009-03-24 12:40:15 +01:00
Nikolay Sivov b896b92061 comctl32/tab: Fix button background filling on TCS_BUTTONS. 2009-03-24 12:39:17 +01:00
Nikolay Sivov 4585148547 comctl32/tab: Implement TCM_REMOVEIMAGE. 2009-03-24 12:38:37 +01:00
Gerald Pfeifer 2a7d98a52c comctl32: Simplify three TAB_ functions. 2009-03-02 13:59:51 +01:00
Aric Stewart 110a6048af comctl32/tab: Return default tab width in TCM_SETMINTABWIDTH if lParam is a negative value. 2008-12-03 11:37:58 +01:00
Lei Zhang 87ca1b9416 comctl32: Check for NULL input in TAB_AdjustRect. 2008-11-11 11:40:46 +01:00
Michael Stefaniuc d4b8948ce3 comctl32: Do not cast NULL. 2008-11-03 13:41:58 +01:00
Michael Stefaniuc b723e6f6b6 comctl32: Remove the superfluous casting of the LPVOID returned by Alloc(). 2008-10-24 14:24:59 +02:00
Detlef Riekenberg 2910b90c70 comctl32/tests: Fix tests to not depend on 96 dpi, make it pass in Wine. 2008-10-14 14:02:28 +02:00
Mikołaj Zalewski 60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +02:00
Vitaliy Margolen 5c9fbb828d comctl32: tab: Fix drawing of the icons.
This patch partially reverts aa57ad37. It's not correct. The top/left
is added later on.
2008-05-06 11:25:19 +02:00
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