如何使文体按钮的Windows 7? [英] How make stylistic buttons windows 7?
问题描述
我想用我的应用程序是这样的按钮(见图片)。
I want use buttons on my application like this (see picture).
这是不常见的按钮,它有标准的图片,标题和描述。
This isn't usual buttons, it have standard picture, caption and description.
谁能帮我呢? (张贴一些code或者别的什么)
Could anyone help me with it? (Post some code or something else)
推荐答案
您提到的键被称为命令链接
Windows Vista和6.00版本中引入了另一种按钮的,命令链接。结果
视觉上,一个命令链路是从正常按钮很大的不同,但它具有相同的功能。结果
命令链接通常显示一个箭头图标,文字的线,并在一个较小的字体额外的文本。
Windows Vista and Version 6.00 introduced another kind of push button, the command link.
Visually, a command link is very different from a normal push button, but it has the same functionality.
A command link typically displays an arrow icon, a line of text, and additional text in a smaller font.
下面是供按钮的样式的列表。结果
http://msdn.microsoft.com/en-us/库/ bb775951(VS.85)的.aspx
请注意恒 BS_COMMANDLINK
和 BS_DEFCOMMANDLINK
在上述weppage
Note the constant BS_COMMANDLINK
and BS_DEFCOMMANDLINK
at the above weppage
如果您在使用按钮创建一个按钮
类的<code>的CreateWindow 或函数CreateWindowEx
功能,您可以指定任何列出的按钮样式
If you create a button using the BUTTON
class with the CreateWindow
or CreateWindowEx
function, you can specify any of the button styles listed
的命令链接设计概念
检查此链接查看各种的类型的按钮的。结果
http://msdn.microsoft.com/en-us/库/ bb775947(VS.85)的.aspx
Check this link to see the various types of buttons.
http://msdn.microsoft.com/en-us/library/bb775947(VS.85).aspx
下面是在C#中
创建命令链接的code例子
Vista的指挥链路控制与C#/ Windows窗体
希望这有助于。
这篇关于如何使文体按钮的Windows 7?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!