开发者

How to create buttons in taskbar menu Windows 7 C#?

How would I开发者_运维知识库 make buttons appear in the Windows 7 Taskbar like the image below has it setup?

http://i.stack.imgur.com/ZcH1z.png

How to create buttons in taskbar menu Windows 7 C#?

How would I create buttons in the taskbar with tooltiptext on the button like the picture above?

C# Windows Form.

Thanks.


You should look at the Windows API Code Pack, this will give you what you require.

The feature is called 'Thumbnail Toolbar'. There are some icons you can use on your buttons in the SystemIcons class.

ThumbnailToolbarButton infoButton = new ThumbnailToolbarButton(SystemIcons.Information, "Information");
infoButton.Click += delegate {
    // Action
};

TaskbarManager.Instance.ThumbnailToolbars.AddButtons(this.Handle, infoButton);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜