Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > MarkupLabel Control
  New Posts New Posts RSS Feed - Markup tooltips in CXTPMarkupView
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Markup tooltips in CXTPMarkupView

 Post Reply Post Reply
Author
Message
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 235
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Topic: Markup tooltips in CXTPMarkupView
    Posted: 11 May 2012 at 2:18pm
I’ve used the following code to create tooltips for items in markup. While this works, the tooltips are text-only, and doesn’t support newlines.

<Border>
<Border.ToolTip>
simple tooltip in one row
</Border.ToolTip>
<TextBlock>Hello world</TextBlock>
</Border>

Is there a way to extend the tooltips so that they support markup?

So that I could do something like the following (replace the simple line-break code with arbitrary markup to create a fancy formatted tooltip):

<Border>
<Border.ToolTip>
<TextBlock>
tooltip row 1<LineBreak/>
tooltip row 2
</TextBlock>
</Border.ToolTip>
<TextBlock>Hello world</TextBlock>
</Border>

Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.