你如何画使用视觉样式任务栏按钮? [英] How do you draw a Taskbar button using visual styles?
本文介绍了你如何画使用视觉样式任务栏按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个工具栏DeskBand,我想显示具有风格的视觉风格任务栏按钮在工具栏上的按钮。
I've created a DeskBand toolbar and I want to display a button on the toolbar that has the style visual style as a taskbar button.
在.NET你可以使用VisualStyleRenderer渲染任务栏背景,但有办法来渲染一个按钮。
In .NET you can use the VisualStyleRenderer to render the Taskbar BACKGROUND, but there's way to render a button.
是否有任何的Win32 API的,我可以使用使用视觉样式绘制按钮,而不是?通过绘制路径或图像模仿按钮的外观
Are there any Win32 API's I can use to draw the button using Visual Styles rather than emulating the look of the button via drawing paths or images?
推荐答案
我知道这个话题是旧的,但...
I know this topic is old but,...:
这篇关于你如何画使用视觉样式任务栏按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文