<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : RTL issue in Context Menu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : RTL issue in Context Menu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 15:53:46 +0000</pubDate>
  <lastBuildDate>Mon, 06 Oct 2008 14:18:08 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=12328</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[RTL issue in Context Menu :  I am on 11.1.3, which I realize...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12328&amp;PID=41683&amp;title=rtl-issue-in-context-menu#41683</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3437">ColtSeavers</a><br /><strong>Subject:</strong> 12328<br /><strong>Posted:</strong> 06 October 2008 at 2:18pm<br /><br />I am on 11.1.3, which I realize is out of date.&nbsp; I'm still working on getting the latest version but I wanted to see if this issue has been addressed.]]>
   </description>
   <pubDate>Mon, 06 Oct 2008 14:18:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12328&amp;PID=41683&amp;title=rtl-issue-in-context-menu#41683</guid>
  </item> 
  <item>
   <title><![CDATA[RTL issue in Context Menu : Hi, Think it was fixed already....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12328&amp;PID=41646&amp;title=rtl-issue-in-context-menu#41646</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12328<br /><strong>Posted:</strong> 06 October 2008 at 1:14am<br /><br /><P>Hi,</P><P>Think it was fixed already. I can't reproduce it with last version. What version do you have ?</P>]]>
   </description>
   <pubDate>Mon, 06 Oct 2008 01:14:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12328&amp;PID=41646&amp;title=rtl-issue-in-context-menu#41646</guid>
  </item> 
  <item>
   <title><![CDATA[RTL issue in Context Menu : I came across an issue with CXTPPopupBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12328&amp;PID=41628&amp;title=rtl-issue-in-context-menu#41628</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3437">ColtSeavers</a><br /><strong>Subject:</strong> 12328<br /><strong>Posted:</strong> 03 October 2008 at 4:48pm<br /><br />I came across an issue with CXTPPopupBar when used with CXTPCommandBars::TrackPopupMenu.&nbsp; If the parent window has the WS_EX_LAYOUTRTL extended style and one of the menu items has its text changed in the update handler, CXTPPopupBar::CalculatePopupRect is called more than once.&nbsp; As a result, m_ptPopup is adjusted multiple times and the context menu is shifted to the left by the width of the context menu.<br><br>The easiest resolution I found was to use a local CPoint variable that copies m_ptPopup and use this within CalculatePopupRect.&nbsp; This way the original mouse coordinates are never lost and the adjustment is correct.&nbsp; I also looked for a way to avoid calling CalculatePopupRect more than once but did not see a straightforward way to do this.<br><br>To reproduce the issue just add the line:<br><br>pCmdUI-&gt;SetText(_T("New Command Text"));<br><br>inside an ON_UPDATE_COMMAND_UI handler for an item in the context menu.&nbsp; What's even more amusing is that the menu will appear at the far left edge of the screen if you change the text of multiple commands.&nbsp; Thank you for looking into this matter.<br>]]>
   </description>
   <pubDate>Fri, 03 Oct 2008 16:48:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12328&amp;PID=41628&amp;title=rtl-issue-in-context-menu#41628</guid>
  </item> 
 </channel>
</rss>