Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Determining if the window is in help mode

Tags:

c#

.net

winforms

Developing a .NET WinForms application: how can I check if the window is in Help mode (i.e. after clicking the "?" button in the title bar)?

The problem I have is that my System.Windows.Forms.ToolStripItem objects do not have a HelpRequested event (because they do not inherit from Control) so in the Click event handler, I am trying to determine if the window is currently in help mode so I can popup a ToolTip programmatically.

Any help is always appreciated! Thanks

like image 975
Tharsan Avatar asked Dec 09 '25 13:12

Tharsan


1 Answers

I believe that the Form.HelpButtonClicked event is what you want, since it's in your namespace.

like image 183
A. Rex Avatar answered Dec 11 '25 03:12

A. Rex



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!