Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding help icon to WinForms form titlebar

Tags:

c#

winforms

icons

Some Windows native applications have a question mark icon on the title bar. It's usually at the right edge, just near the close button. How can I do this in a C# WinForms application? I'd like a solution that works in Windows XP onward.

like image 880
Andrew Avatar asked Aug 02 '26 00:08

Andrew


1 Answers

Set the form's HelpButton property to True. You also need to have the MaximizeButton and MinimizeButton properties set to False.

like image 133
crb Avatar answered Aug 03 '26 12:08

crb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!