summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-14 13:56:26 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-14 13:56:26 +0100
commitf64fd0b4a2b5c1e8fe4f5742d8ef530b02cd9f22 (patch)
tree560075b61b227bf29accfa90e1eea98c5ee63525 /vcl/source
parentf30518cc978f4f74a7e61d03872b913124e82f76 (diff)
gridsort: +QUICKHELP_TIP_STYLE_BALLOON, to be used with ShowTip, to force a tip to appear in balloon-style
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/help.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx
index 09650cee9231..7e58a7cc4dc8 100644
--- a/vcl/source/app/help.cxx
+++ b/vcl/source/app/help.cxx
@@ -278,7 +278,7 @@ BOOL Help::ShowQuickHelp( Window* pParent,
ULONG Help::ShowTip( Window* pParent, const Rectangle& rScreenRect,
const XubString& rText, USHORT nStyle )
{
- USHORT nHelpWinStyle = HELPWINSTYLE_QUICK;
+ USHORT nHelpWinStyle = ( ( nStyle & QUICKHELP_TIP_STYLE_BALLOON ) != 0 ) ? HELPWINSTYLE_BALLOON : HELPWINSTYLE_QUICK;
HelpTextWindow* pHelpWin = new HelpTextWindow( pParent, rText, nHelpWinStyle, nStyle );
ULONG nId = reinterpret_cast< ULONG >( pHelpWin );