Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am trying to add a help '?' button to the title bar (along with minimize, maximize, and close buttons) of my winforms application (C#.NET 2.0). I have tried using the Help Button property of Form, but it does not work. Any suggestions?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
319 views
Welcome To Ask or Share your Answers For Others

1 Answer

The Help icon is only there when HelpButton = True and MaximizeBox and MimizeBox are both set to False. This is the windows standard. If you really want to go beyond and add a button anyway, you'll have to customize the titlebar.

This is not an easy task, it either involves many hooks, or a complete redesign of the title bar.

Are you sure you want to depart from the Windows standard? Wouldn't it be better to have Help available in the menu or on a toolbar somewhere?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...