On 6/1/02 06:00, Dario Guerrero wrote:
> There is any way to disable tooltips ( carbon ) in a whole application??
There doesn't seem to be a global way to do this for Mac OS (although there
is for Windows), so it seems the only way would be to loop through the
controls for which you have a helptag and set it to null for each control if
the user doesn't want it, or set it to an appropriate value if they do.
Subclassing the controls (with our without a Class Interface to tie them
together; the Class Interface would simplify it a bit) should make this
pretty easy to do. I'd suggest including a property for each subclasss,
something like HelpTagText, which would be set by the Open event of the
control. Then that value could be set as the HelpTag if it's needed.
George
--
George Clark - gaclark at sprynet dot com
|