Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - RTL(RightToLeft) support for Markup tooltip style
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

RTL(RightToLeft) support for Markup tooltip style

 Post Reply Post Reply
Author
Message
Xiaoling View Drop Down
Newbie
Newbie


Joined: 23 August 2010
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xiaoling Quote  Post ReplyReply Direct Link To This Post Topic: RTL(RightToLeft) support for Markup tooltip style
    Posted: 23 August 2010 at 4:52pm
Hi,
 I am trying to support RightToLeft for Markup tooltip style on commandbars and put FlowDirection='RightToLeft' on the markup string, but Codejock doesn't seem to know how to handle this. Does anyone know how to support RTL for this?
 
 I added FlowDirection='RightToLeft' into the markup string from TooltipContext sample, but this doesn't work.
 Any help is appreciated.
 

strHTML.Format(

_T("<StackPanel FlowDirection='RightToLeft' Margin='1' MaxWidth='200' >")

_T("<TextBlock Padding='1, 3, 1, 3' FontWeight='Bold'>%s</TextBlock>")

_T("<TextBlock Padding='9, 6, 30, 7' TextWrapping='Wrap'>%s</TextBlock>")

_T("<Border Height='1' Background='#9ebbdd' />")

_T("<Border Height='1' Background='White' />")

_T("<StackPanel Margin='1, 7, 0, 3' Orientation='Horizontal'>")

_T("<Image Source='res://Help.ico'/><TextBlock Margin='7, 0, 0, 0' VerticalAlignment='Center' FontWeight='Bold'>Press F1 for more help.</TextBlock>")

_T("</StackPanel>")

_T("</StackPanel>"),

strCaption, strDesc, (LPCTSTR)lpszModule);

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.172 seconds.