tags:

views:

416

answers:

1

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

Regards

+7  A: 

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?

David Rutten
Thanks. Now I know the reason why HelpButton property is not working, as I have my MinimizeBox = true. I don't think I would prefer to depart from Windows standard. I would rather add a help button on the form. Regards.
kobra