<?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 : How To Call This Function</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : How To Call This Function]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 23 May 2026 02:02:26 +0000</pubDate>
  <lastBuildDate>Thu, 04 Oct 2012 00:28:03 +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=20196</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[How To Call This Function : I think I have figured that out...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20196&amp;PID=69025&amp;title=how-to-call-this-function#69025</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7">jwhagen</a><br /><strong>Subject:</strong> 20196<br /><strong>Posted:</strong> 04 October 2012 at 12:28am<br /><br />I think I have figured that out but would still like an answer. I also have one more set of questions:<DIV><FONT color=#008000 size=2><FONT color=#008000 size=2><FONT color=#008000 size=2><FONT color=#008000 size=2><P><table width="99%"><tr><td><pre class="BBcode">// Get 64K bytes of data without regard to any CR/LF</P><DIV></FONT></FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>CString</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>sData</FONT></FONT><FONT color=#000000 size=2> = </FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>pPtr</FONT></FONT><FONT color=#000000 size=2>.</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>GetText</FONT></FONT><FONT size=2><FONT color=#000000>(65535);</FONT></DIV></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2><P>// Get a line of Text</P></FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>int</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>nRow</FONT></FONT><FONT size=2><FONT color=#000000> = 10;</FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>int</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>nLen</FONT></FONT><FONT color=#000000 size=2> = </FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>pPtr</FONT></FONT><FONT color=#000000 size=2>.</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>GetLineLen</FONT></FONT><FONT color=#000000 size=2>(</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>nRow</FONT></FONT><FONT size=2><FONT color=#000000>);</FONT></P></FONT><FONT color=#020002 size=2><FONT color=#020002 size=2><P>CXTPSyntaxEditCtrl</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>pEdtPtr</FONT></FONT><FONT size=2><FONT color=#000000>;</FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>int</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>nRows</FONT></FONT><FONT color=#000000 size=2> = </FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>pEdtPtr</FONT></FONT><FONT color=#000000 size=2>.</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>GetRowCount</FONT></FONT><FONT size=2><FONT color=#000000>();</FONT></P></FONT><FONT color=#020002 size=2><FONT color=#020002 size=2><P>CString</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>sLineOfText</FONT></FONT><FONT color=#000000 size=2> = </FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>pEdtPtr</FONT></FONT><FONT color=#000000 size=2>.</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>GetLineText</FONT></FONT><FONT color=#000000 size=2>(</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>nRow</FONT></FONT><FONT size=2><FONT color=#000000>);</pre></td></tr></table></FONT></FONT></FONT></FONT></P></DIV><DIV>My nRows always returns ZERO when there are over 100 lines of text in the buffer.</DIV><DIV>My sLineOfText always returns NOTHING (""). </DIV><DIV>&nbsp;</DIV><DIV>Any idea why?</DIV><DIV>Thanks.</DIV><DIV>&nbsp;</DIV><DIV>John</DIV>]]>
   </description>
   <pubDate>Thu, 04 Oct 2012 00:28:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20196&amp;PID=69025&amp;title=how-to-call-this-function#69025</guid>
  </item> 
  <item>
   <title><![CDATA[How To Call This Function : Could someone please tell me how...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20196&amp;PID=69023&amp;title=how-to-call-this-function#69023</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7">jwhagen</a><br /><strong>Subject:</strong> 20196<br /><strong>Posted:</strong> 03 October 2012 at 8:05pm<br /><br />Could someone please tell me how to call the following function?<DIV>&nbsp;</DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P><table width="99%"><tr><td><pre class="BBcode">int</FONT></FONT><FONT size=2> </FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>CXTPSyntaxEditBufferManager</FONT></FONT><FONT size=2>::</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>CXTPSyntaxEditStringsManager</FONT></FONT><FONT size=2>::</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>GetCount</FONT></FONT><FONT size=2>() </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>const</FONT></FONT><FONT size=2>;</pre></td></tr></table></P><DIV></DIV><DIV></DIV><DIV>I admit I am clueless so the line of code that would request the GetCount() would be appreciated. I am trying to do this from CFooView.cpp like this:</DIV><DIV><FONT color=#020002 size=2><FONT color=#020002 size=2></FONT></FONT>&nbsp;</DIV><DIV><FONT color=#020002 size=2><FONT color=#020002 size=2><table width="99%"><tr><td><pre class="BBcode">int n = CXTPSyntaxEditBufferManager</FONT></FONT><FONT size=2>::</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>CXTPSyntaxEditStringsManager</FONT></FONT><FONT size=2>::</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>GetCount</FONT></FONT><FONT size=2>();</pre></td></tr></table></DIV><DIV><DIV>&nbsp;</DIV><DIV>Of course that doesn't work. I am a rookie and learning this through trial and error. Would appreciate any help you can provide. Thanks!</DIV><DIV>&nbsp;</DIV><DIV>John</FONT><FONT size=2></DIV></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 03 Oct 2012 20:05:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20196&amp;PID=69023&amp;title=how-to-call-this-function#69023</guid>
  </item> 
 </channel>
</rss>