本文介绍了如何绘制Windows 7任务栏(如阴影按钮)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Windows 7任务栏按钮绘制在阴影背景上.鼠标悬停在按钮上方时,颜色会产生某种反应.
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 application. How can i do that ?
推荐答案该效果称为色彩热跟踪".似乎没有专用的API.开发者博客对此:
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:
我通过类似的操作从Rudi Grobler找到了一些源代码:
I found some source code from Rudi Grobler though doing a similar thing:
使您的WPF按钮成为热门颜色!
更多推荐
如何绘制Windows 7任务栏(如阴影按钮)
发布评论