<?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 : Rich Edit Control on a CXTPShortcutPane Client</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Shortcut Bar : Rich Edit Control on a CXTPShortcutPane Client]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 23:24:20 +0000</pubDate>
  <lastBuildDate>Mon, 24 Dec 2007 14:46:24 +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=9170</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[Rich Edit Control on a CXTPShortcutPane Client : Solved bro...  Thanks again...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9170&amp;PID=29747&amp;title=rich-edit-control-on-a-cxtpshortcutpane-client#29747</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3607">omtara</a><br /><strong>Subject:</strong> 9170<br /><strong>Posted:</strong> 24 December 2007 at 2:46pm<br /><br /><P>Solved bro...</P><P>&nbsp;</P><P>Thanks again for your support,</P><P>Omtara</P>]]>
   </description>
   <pubDate>Mon, 24 Dec 2007 14:46:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9170&amp;PID=29747&amp;title=rich-edit-control-on-a-cxtpshortcutpane-client#29747</guid>
  </item> 
  <item>
   <title><![CDATA[Rich Edit Control on a CXTPShortcutPane Client : Thanks for the prompt reply,  Do...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9170&amp;PID=29746&amp;title=rich-edit-control-on-a-cxtpshortcutpane-client#29746</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3607">omtara</a><br /><strong>Subject:</strong> 9170<br /><strong>Posted:</strong> 24 December 2007 at 2:35pm<br /><br />Thanks for the prompt reply,<DIV>&nbsp;</DIV><DIV>Do you know where I could do such a change while keeping everything RTL (Menus, Commandbars, etc..)&nbsp;and have the Rich edit control work fine?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance,</DIV><DIV>&nbsp;</DIV><DIV>Omtara</DIV>]]>
   </description>
   <pubDate>Mon, 24 Dec 2007 14:35:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9170&amp;PID=29746&amp;title=rich-edit-control-on-a-cxtpshortcutpane-client#29746</guid>
  </item> 
  <item>
   <title><![CDATA[Rich Edit Control on a CXTPShortcutPane Client : RichEdit doesn&amp;#039;t support...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9170&amp;PID=29745&amp;title=rich-edit-control-on-a-cxtpshortcutpane-client#29745</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9170<br /><strong>Posted:</strong> 24 December 2007 at 2:17pm<br /><br />RichEdit doesn't support WS_EX_LAYOUTRTL. try WS_EX_RIGHT style instead.]]>
   </description>
   <pubDate>Mon, 24 Dec 2007 14:17:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9170&amp;PID=29745&amp;title=rich-edit-control-on-a-cxtpshortcutpane-client#29745</guid>
  </item> 
  <item>
   <title><![CDATA[Rich Edit Control on a CXTPShortcutPane Client : Thanks for your time, Whentryingto...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9170&amp;PID=29740&amp;title=rich-edit-control-on-a-cxtpshortcutpane-client#29740</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3607">omtara</a><br /><strong>Subject:</strong> 9170<br /><strong>Posted:</strong> 24 December 2007 at 1:02pm<br /><br /><P>Thanks for your time,</P><DIV>When&nbsp;trying&nbsp;to reproduce the problem with the Shortcutbar example, I finally&nbsp;found out that the problem is because I am using a right-to-left layout for my entire program.</DIV><DIV>&nbsp;</DIV><DIV>I was able to reproduce the problem in the Scribble multi-language example.&nbsp; I simply changed the main view to a CRichEditView class and added the neccesary translation files (Scribble.ResourceArSa.dll and .xml)</DIV><DIV>&nbsp;</DIV><DIV>I have attached the modified project for your convienience. I had to change some of the project settings to make everything work in a single directory. You may need to specify the directory for the XTP lib folder.</DIV><DIV>&nbsp;</DIV><DIV>To check out the issue, you can run the example and switch to Arabic from the command bar. When the layout becomes right-to-left, the rich edit control malfunctions.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;<a href="https://forum.codejock.com/uploads/temp/20071224_132330_ScribbleMultiLa.zip" target="_blank">uploads/temp/20071224_132330_ScribbleMultiLa.zip</A></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Sorry for reporting an inaccurate issue at first,</DIV><DIV>&nbsp;</DIV><DIV>Omtara</DIV>]]>
   </description>
   <pubDate>Mon, 24 Dec 2007 13:02:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9170&amp;PID=29740&amp;title=rich-edit-control-on-a-cxtpshortcutpane-client#29740</guid>
  </item> 
  <item>
   <title><![CDATA[Rich Edit Control on a CXTPShortcutPane Client : Hi,  try to reproduce this problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9170&amp;PID=29727&amp;title=rich-edit-control-on-a-cxtpshortcutpane-client#29727</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9170<br /><strong>Posted:</strong> 23 December 2007 at 3:17am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>try to reproduce this problem with our smple and attach project here.</DIV>]]>
   </description>
   <pubDate>Sun, 23 Dec 2007 03:17:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9170&amp;PID=29727&amp;title=rich-edit-control-on-a-cxtpshortcutpane-client#29727</guid>
  </item> 
  <item>
   <title><![CDATA[Rich Edit Control on a CXTPShortcutPane Client : I am having problems attaching...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9170&amp;PID=29725&amp;title=rich-edit-control-on-a-cxtpshortcutpane-client#29725</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3607">omtara</a><br /><strong>Subject:</strong> 9170<br /><strong>Posted:</strong> 22 December 2007 at 12:24pm<br /><br /><DIV>I am having problems attaching a CRichEditCtrl to a CXTPShortcutPane. When replaced by a&nbsp;CEdit&nbsp;control, everything works fine.</DIV><DIV>&nbsp;</DIV><DIV>I have also tried to use the exact creation code in a CDialog and the CRichEdit is functioning properly.</DIV><DIV>&nbsp;</DIV><DIV>In my code, I am overriding the "Create" function of the "CXTPShortcutPane" derived class and have added the following code:</DIV><DIV><FONT size=4><FONT face="Courier New, Courier, mono" size=2></FONT></FONT>&nbsp;</DIV><DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>////////////////////////////////////////////////////</FONT></DIV><DIV><FONT size=4><FONT face="Courier New, Courier, mono" size=2><table width="99%"><tr><td><pre class="BBcode"></FONT></FONT></DIV><DIV><FONT size=4><FONT face="Courier New, Courier, mono" size=2>BOOL CInfoViewPane::Create(LPCTSTR lpszCaption, CXTPShortcutBar* pParent)</FONT></FONT></DIV><DIV><FONT size=4><FONT face="Courier New, Courier, mono" size=2>{</DIV><DIV></FONT></FONT><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#0000ff>&nbsp;&nbsp; if</FONT> (!CXTPShortcutBarPane::Create(lpszCaption, pParent))</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return</FONT> FALSE;</FONT></FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; SetIndent(0,0,0,0);</FONT></DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; CXTPShortcutBarPaneItem* pPane;</FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; DWORD w_RichEd = WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_VSCROLL | ES_AUTOVSCROLL | WS_HSCROLL | ES_AUTOHSCROLL | ES_MULTILINE;</FONT></DIV><DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; m_richedit.Create(w_RichEd, CRect(0,0,0,0), <FONT color=#0000ff>this</FONT>, IDC_INFO_BOX);</FONT></DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; </FONT></DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; m_richedit.LimitText(1000);</FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; DWORD REOptions = (ECO_AUTOVSCROLL | ECO_AUTOHSCROLL | ECO_NOHIDESEL | ECO_SAVESEL | ECO_SELECTIONBAR);</FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; m_richedit.SetOptions(ECOOP_OR, REOptions);</FONT></DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; m_richedit.SetBackgroundColor(FALSE, GetSysColor(COLOR_3DFACE)); </FONT></DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; </FONT></DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; CHARFORMAT cfm;</FONT></DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; cfm.cbSize = <FONT color=#0000ff>sizeof</FONT>(cfm);</FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono">&nbsp;&nbsp; cfm.dwMask = CFM_COLOR | CFM_BOLD | CFM_SIZE | CFM_FACE;</FONT></FONT></DIV><DIV><FONT face="Courier New, Courier, mono" size=2>&nbsp;&nbsp; cfm.dwEffects = 0;</FONT></DIV><DIV><FONT face="Courier New, Courier, mono" size=2>&nbsp;&nbsp; cfm.yHeight = 200;</FONT></DIV><DIV><FONT face="Courier New, Courier, mono" size=2>&nbsp;&nbsp; cfm.crTextColor = RGB(0,0,0);</FONT></DIV><DIV><FONT face="Courier New, Courier, mono" size=2>&nbsp;&nbsp; _tcscpy (cfm.szFaceName, _T(<FONT color=#a31515>"Trebuchet MS"</FONT>));</FONT></DIV><DIV><FONT face="Courier New, Courier, mono" size=2>&nbsp;&nbsp; m_richedit.SetDefaultCharFormat(cfm);</FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>&nbsp;&nbsp; pPane = AddItem(_T(<FONT color=#a31515>"Info"</FONT>), &amp;m_richedit, 115);</FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT size=2><FONT face="Courier New">&nbsp;&nbsp; </FONT><FONT face="Courier New, Courier, mono"><FONT color=#0000ff>return</FONT> TRUE;</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New">}</pre></td></tr></table></FONT></FONT></DIV><DIV><FONT face="Courier New" size=2></FONT></DIV><P><FONT face="Courier New" size=2>/////////////////////////////////////////////////</FONT></P><DIV><FONT face="Courier New" size=2></FONT></DIV><DIV><FONT face="Courier New" size=2></FONT></DIV><DIV><FONT face="Courier New" size=2>The problem is that the pane containing a richedit control is not updated when its shortcut it is supposed to.</FONT></DIV><DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>Please note that my CXTPShortcutBar&nbsp;derived class is also derived from CView and is attached to a splitter frame when the program starts.</FONT></DIV><DIV><FONT face="Courier New" size=2></FONT></DIV><P><FONT face="Courier New" size=2>I have been working on this problem for three days with no clue.</FONT></P><DIV><FONT face="Courier New" size=2></FONT></DIV><DIV><FONT face="Courier New" size=2></FONT></DIV><FONT face="Courier New" size=2>Thanks in advance,</FONT><DIV></DIV><DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>Omtara</FONT></DIV>]]>
   </description>
   <pubDate>Sat, 22 Dec 2007 12:24:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9170&amp;PID=29725&amp;title=rich-edit-control-on-a-cxtpshortcutpane-client#29725</guid>
  </item> 
 </channel>
</rss>