I've not tested but something like this
should work.
First, capture the defaultToolTip instance in your DaggerfallAutomapWindow constructor (this is a protected member inherited from DaggerfallBaseWindow):
Code: Select all
ToolTip savedToolTip;
public DaggerfallAutomapWindow(IUserInterfaceManager uiManager)
: base(uiManager)
{
savedToolTip = defaultToolTip;
}
When any button-down action is in process, disable the default tooltip:
When button-down action is complete, set back the default tooltip with your saved instance.
The bit of code that does tooltip updates and drawing (in DaggerfallBaseWindow) will take no action if defaultToolTip == null, so setting this while pressing buttons should do the job.
Let me know how you go. Almost midnight here - slightly drunk and tired. Above may be bollocks.