diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-11 21:45:01 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-11 21:45:01 +0100 |
commit | 69e0e16e0e50074127c6a4bef1f45dd6323b0164 (patch) | |
tree | 5de17c9065f874214d66e50e13ce2994d515833d /vcl | |
parent | 5e725b448fcb0f732b2b492d7452b9304de0bbce (diff) |
gridsort: +QUICKHELP_NO_DELAY
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/vcl/help.hxx | 1 | ||||
-rw-r--r-- | vcl/source/app/help.cxx | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/vcl/inc/vcl/help.hxx b/vcl/inc/vcl/help.hxx index e4f9aa45b139..4fb039b25bec 100644 --- a/vcl/inc/vcl/help.hxx +++ b/vcl/inc/vcl/help.hxx @@ -49,6 +49,7 @@ class Window; #define QUICKHELP_NOAUTOPOS (QUICKHELP_LEFT | QUICKHELP_CENTER | QUICKHELP_RIGHT | QUICKHELP_TOP | QUICKHELP_VCENTER | QUICKHELP_BOTTOM) #define QUICKHELP_CTRLTEXT ((USHORT)0x0040) #define QUICKHELP_FORCE_REPOSITION ((USHORT)0x0080) +#define QUICKHELP_NO_DELAY ((USHORT)0x0100) #define QUICKHELP_NOEVADEPOINTER ((USHORT)0x4000) #define QUICKHELP_BIDI_RTL ((USHORT)0x8000) diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx index 37e7917d5e78..46f5e2132e5c 100644 --- a/vcl/source/app/help.cxx +++ b/vcl/source/app/help.cxx @@ -629,7 +629,9 @@ void ImplShowHelpWindow( Window* pParent, USHORT nHelpWinStyle, USHORT nStyle, if ( !pHelpWin && rHelpText.Len() ) { ULONG nCurTime = Time::GetSystemTicks(); - if( (nCurTime - pSVData->maHelpData.mnLastHelpHideTime) < pParent->GetSettings().GetHelpSettings().GetTipDelay() ) + if ( ( ( nCurTime - pSVData->maHelpData.mnLastHelpHideTime ) < pParent->GetSettings().GetHelpSettings().GetTipDelay() ) + || ( ( nStyle & QUICKHELP_NO_DELAY ) != 0 ) + ) nDelayMode = HELPDELAY_NONE; DBG_ASSERT( !pHelpWin, "Noch ein HelpWin ?!" ); |