Nikolay Sivov : comctl32/tab: Draw hottracked tab button properly.

Alexandre Julliard julliard at winehq.org
Mon Apr 6 09:00:33 CDT 2009


Module: wine
Branch: master
Commit: 483083e30646cbbb73798864afa7cc32d277f69b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=483083e30646cbbb73798864afa7cc32d277f69b

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Sun Apr  5 09:39:36 2009 -0400

comctl32/tab: Draw hottracked tab button properly.

---

 dlls/comctl32/tab.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c
index 1830b2d..a7e925f 100644
--- a/dlls/comctl32/tab.c
+++ b/dlls/comctl32/tab.c
@@ -1482,7 +1482,10 @@ TAB_EraseTabInterior(const TAB_INFO *infoPtr, HDC hdc, INT iItem, RECT *drawRect
 	    {
 		FillRect(hdc, drawRect, hbr);
 		if (iItem == infoPtr->iHotTracked)
-		    DrawEdge(hdc, drawRect, EDGE_RAISED, BF_SOFT|BF_RECT);
+		{
+		    DrawEdge(hdc, drawRect, EDGE_RAISED, BF_SOFT|BF_TOPLEFT);
+		    DrawEdge(hdc, drawRect, EDGE_RAISED, BF_FLAT|BF_BOTTOMRIGHT);
+		}
 	    }
 	    else
 		FillRect(hdc, &rTemp, hbr);




More information about the wine-cvs mailing list