Override tooltip text for Titlebar buttons (Close, Maximize, Minimize, Help)
Posted
by Tim
on Stack Overflow
See other posts from Stack Overflow
or by Tim
Published on 2010-03-30T21:45:41Z
Indexed on
2010/03/31
12:13 UTC
Read the original article
Hit count: 470
I have been trying without luck to change the text of the tooltip that appears for the buttons on the main title bar of a form.
In a nutshell, we have harnessed the 'Help' button for Windows Forms to have some other purpose. This is working fine. The issue is that when hovering the mouse over that button, a 'Help' tooltip appears, which doesn't make any sense for the application.
Ideally, there would be some way to change the text of that tooltip for my application; however, at this point I would be satisfied just finding a way to disable the tooltips altogether.
I know that you can disable the tooltips for the entire OS by modifying the 'UserPreferencesMask' key in regedit, but I would really like a way to have this only affect my application.
Again, ideally there would be some way to do this with managed code, but I would not be opposed to linking into the Windows API or the like.
Thanks for any suggestions for resolving this issue!
© Stack Overflow or respective owner