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?
C# – How to include help ‘?’ in title bar of winform
cwinforms
Related Topic
- C# – Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on
- C# – The located assembly’s manifest definition does not match the assembly reference
- C# – How to save application settings in a Windows Forms application
- C# – How to update the GUI from another thread
- C# – How to place a form in help-requested mode
- C# – How to remedy “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning
- C# – How to hide only the Close (x) button
- Scala: list.flatten: no implicit argument matching parameter type (Any) = > Iterable[Any] was found
Best 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?