How to draw Windows 7 taskbar like Shaded Buttons

后端 未结 4 553
野性不改
野性不改 2021-01-16 05:47

Windows 7 taskbar buttons are drawn on a shaded background. The color shade somehow reacts on where the mouse is over the button.

I\'d like to use such buttons in my

4条回答
  •  太阳男子
    2021-01-16 06:38

    The effect is called "Color Hot-track". It does not seem that there is a dedicated API for that. There are some notes in a developer blog about it:

    I found some source code from Rudi Grobler though doing a similar thing:

    Make your WPF buttons color hot-track!

提交回复
热议问题