Determining if a window is in help mode

Development of .NET WinForms application: how to check if a window is in help mode (ie after clicking the "?" Button in the title bar)?

The problem is that my System.Windows.Forms.ToolStripItem objects do not have a HelpRequested event (because they are not inherited from Control), so in the Click event handler I try to determine if this window is really in help mode so that I can pop up tooltips programmatically.

Any help is always appreciated! Thanks

+3
source share
1 answer

I believe the Form.HelpButtonClicked event is what you want, as it is in your namespace.

+1
source

Source: https://habr.com/ru/post/1697646/


All Articles