# Disable tooltipwindow on startup

**URL:** <https://forum.juce.com/t/disable-tooltipwindow-on-startup/33739>\
**Category:** General JUCE discussion\
**Created:** [June 4, 2019, 10:11pm UTC](https://forum.juce.com/t/disable-tooltipwindow-on-startup/33739 "2019-06-04T22:11:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheWaveWarden](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/thewavewarden/32/13708_2.png) [@TheWaveWarden](https://forum.juce.com/u/TheWaveWarden)\
**Post date:** [June 4, 2019, 10:11pm UTC](https://forum.juce.com/t/disable-tooltipwindow-on-startup/33739/1 "2019-06-04T22:11:07Z")

</div>

I have a ‘TooltipWindow’ in my editor, which should only be enabled after hitting a help-button. I set

```auto
m_tooltip.setMillisecondsBeforeTipAppears(2047483647);

```

right on editor creation, however there is a not so small time window after window creation where the tooltip still shows. It will only disappear after not hovering over a tippable component for ~1s.

Is there another way to disable it?

---

<div class="post-metadata">

**Author:** ![alassandro](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/alassandro/32/4297_2.png) [@alassandro](https://forum.juce.com/u/alassandro)\
**Post date:** [June 4, 2019, 10:27pm UTC](https://forum.juce.com/t/disable-tooltipwindow-on-startup/33739/2 "2019-06-04T22:27:39Z")

</div>

I think if you use a custom tooltip class you can override `getTipFor(Component&)` so that it will return an empty string until your help option is enabled

[https://docs.juce.com/master/classTooltipWindow.html](https://docs.juce.com/master/classTooltipWindow.html)

---

<div class="post-metadata">

**Author:** ![TheWaveWarden](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/thewavewarden/32/13708_2.png) [@TheWaveWarden](https://forum.juce.com/u/TheWaveWarden)\
**Post date:** [June 6, 2019, 3:40pm UTC](https://forum.juce.com/t/disable-tooltipwindow-on-startup/33739/3 "2019-06-06T15:40:22Z")

</div>

> [@TonyAtHarrison](#):
>
> I think if you use a custom tooltip class you can override `getTipFor(Component&)` so that it will return an empty string until your help option is enabled

Nice thanks, works like a charm now! It’s nice to see the remaining minor annoyances vanish from your plugin, making it feel - dare i say it - professional 😃
