<?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 : CXTPSyntaxEditCtrl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : CXTPSyntaxEditCtrl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 23 May 2026 03:56:44 +0000</pubDate>
  <lastBuildDate>Mon, 03 Dec 2007 06:57:49 +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=8813</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[CXTPSyntaxEditCtrl : I think creating such big bitmap...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8813&amp;PID=29120&amp;title=cxtpsyntaxeditctrl#29120</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3233">AndreiM</a><br /><strong>Subject:</strong> 8813<br /><strong>Posted:</strong> 03 December 2007 at 6:57am<br /><br />I think creating such big bitmap may be a bproblem.<DIV>Try to add check&nbsp;widow size condition, like: </DIV><DIV><FONT color=#0000ff size=2>&nbsp;&nbsp;&nbsp; if</FONT><FONT size=2> (m_wndEditView.GetSafeHwnd() &amp;&amp; cx &lt; 10000 &amp;&amp; cy &lt; 10000)</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 03 Dec 2007 06:57:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8813&amp;PID=29120&amp;title=cxtpsyntaxeditctrl#29120</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPSyntaxEditCtrl : Hello, I think the Problem is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8813&amp;PID=28600&amp;title=cxtpsyntaxeditctrl#28600</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3385">Guybrush</a><br /><strong>Subject:</strong> 8813<br /><strong>Posted:</strong> 18 November 2007 at 1:52pm<br /><br />Hello,<DIV>I think the Problem is in the OnSize Function of the <FONT size=2>CXTPDockingPane</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>The first Call of the OnSize is cx=65534 and cy=65534,then&nbsp;Resize the&nbsp;CXTPSyntaxEditCtrl&nbsp;with this large Size cx,cy.</FONT></DIV><DIV><FONT size=2><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (m_wndEditView.GetSafeHwnd())</P><P>{</P><P>m_wndEditView.MoveWindow(0, nTop, cx, cy - nTop);</P><DIV></FONT><FONT size=2>m_wndEditView.Invalidate(FALSE);</DIV><P>}</P></FONT></DIV><DIV><FONT size=2>The next call is then the really Size of the Window, but the Memory of the "Large Size (65534x65534)" CXTPSyntaxEditCtrl is not Free.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Could it be??</FONT></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 18 Nov 2007 13:52:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8813&amp;PID=28600&amp;title=cxtpsyntaxeditctrl#28600</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPSyntaxEditCtrl :  in the Header File  protected: CXTPSyntaxEditCtrl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8813&amp;PID=28574&amp;title=cxtpsyntaxeditctrl#28574</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3385">Guybrush</a><br /><strong>Subject:</strong> 8813<br /><strong>Posted:</strong> 17 November 2007 at 1:49pm<br /><br /><FONT color=#0000ff size=2><DIV><FONT color=#000000>in the Header File</FONT></DIV><DIV><FONT color=#0000ff size=2><P>protected</FONT><FONT size=2><FONT color=#000000>:</P><DIV></FONT><FONT color=#000000>CXTPSyntaxEditCtrl m_wndEditView;</DIV><DIV></FONT><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>int the cpp File:</FONT></DIV><DIV><FONT color=#000000></FONT></FONT>&nbsp;</DIV><DIV>int</FONT><FONT size=2> CSearchResultPane::OnCreate(LPCREATESTRUCT lpCreateStruct)</DIV></DIV><P>{</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (CWnd::OnCreate(lpCreateStruct) == -1)</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> -1;</P><P>VERIFY(m_wndToolBar.CreateToolBar(WS_TABSTOP|WS_VISIBLE|WS_CHILD|CBRS_TOOLTIPS, </FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>));</P></FONT><FONT size=2><P>VERIFY(m_wndToolBar.LoadToolBar(IDR_PANE_SEARCHRESULT));</P><P></P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (m_wndEditView.GetSafeHwnd() == 0)</P><P>{</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (!m_wndEditView.Create(</FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>,TRUE,TRUE))</P><P>{</P><P>TRACE0( </FONT><FONT color=#a31515 size=2>"Unable to create Syntax Edit Ctrl.\n"</FONT><FONT size=2> );</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> 0;</P><P>}</P><P>m_wndEditView.SetSyntaxColor(FALSE);</P><P>m_wndEditView.SetLineNumbers(FALSE);</P><P>m_wndEditView.SetSelMargin(FALSE);</P><P>m_wndEditView.EnableVirtualSpace(FALSE);</P><P></P><P>&nbsp;</P><P>&nbsp;</P><P>LOGFONT lf = {0};</P><P>CFont* pFont = m_wndEditView.GetFont();</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (pFont-&gt;GetSafeHandle())</P><P>{</P><P>pFont-&gt;GetLogFont(&amp;lf);</P><P>}</P><P>CWindowDC dc(NULL);</P><P>lf.lfHeight = -MulDiv(8,::GetDeviceCaps(dc.m_hDC, LOGPIXELSY), 72);</P><P>m_wndEditView.SetFontIndirect(&amp;lf);</P><P>}</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> 0;</P><P>}</P><DIV></DIV><DIV></DIV>thats all!</FONT>]]>
   </description>
   <pubDate>Sat, 17 Nov 2007 13:49:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8813&amp;PID=28574&amp;title=cxtpsyntaxeditctrl#28574</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPSyntaxEditCtrl : Please, send a piece of code where...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8813&amp;PID=28572&amp;title=cxtpsyntaxeditctrl#28572</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3233">AndreiM</a><br /><strong>Subject:</strong> 8813<br /><strong>Posted:</strong> 17 November 2007 at 12:58pm<br /><br />Please, send a piece of code where you create <FONT size=2>CXTPSyntaxEditCtrl.</FONT>]]>
   </description>
   <pubDate>Sat, 17 Nov 2007 12:58:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8813&amp;PID=28572&amp;title=cxtpsyntaxeditctrl#28572</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPSyntaxEditCtrl : Hello,  when I Create a CXTPSyntaxEditCtrl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8813&amp;PID=28565&amp;title=cxtpsyntaxeditctrl#28565</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3385">Guybrush</a><br /><strong>Subject:</strong> 8813<br /><strong>Posted:</strong> 17 November 2007 at 3:44am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>when I Create a <FONT size=2>CXTPSyntaxEditCtrl in a <FONT size=2>CXTPDockingPane, the memory of the Application is over 140MB!!</FONT></FONT></DIV><DIV><FONT size=2>Comment out the Lines, the Application is 18MB in Memory.</FONT></DIV><DIV><FONT size=2>Create a Document with CXTPSyntaxEditView, the Memory is 22MB.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Where is the Problem??</FONT></DIV>]]>
   </description>
   <pubDate>Sat, 17 Nov 2007 03:44:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8813&amp;PID=28565&amp;title=cxtpsyntaxeditctrl#28565</guid>
  </item> 
 </channel>
</rss>