How to draw a Windows 7 taskbar, such as hatched buttons

Windows 7 taskbar buttons are drawn against a shaded background. The color cast responds somehow to where the mouse is above the button.

I would like to use such buttons in my application. How can i do this?

+1
source share
4 answers

The effect is called the Color Hot Track. There seems to be no special API for this. The developer blog has notes on this:

I found some source code from Rudy Grobler, although I did a similar thing:

Make the colored WPF buttons color:

+1
source

Maybe try

DrawThemeBackground

http://msdn.microsoft.com/en-us/library/bb773289(VS.85).aspx

BS_PUSHBUTTON. Windows XP, XP- , Aero, .

+1

, GPU. , .

0

api ( Vista, 7). ,

0

Source: https://habr.com/ru/post/1728962/


All Articles