<?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 : C++ Code Snippets</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : C++ Code Snippets : Last 10 Posts]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 29 May 2026 19:27:22 +0000</pubDate>
  <lastBuildDate>Thu, 12 Mar 2015 14:19:56 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_topic_feed.asp?FID=159</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[C++ Code Snippets : Conditional groupingin report control]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22555&amp;PID=73149&amp;title=conditional-groupingin-report-control#73149</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8834">anshu16585</a><br /><strong>Subject:</strong> Conditional groupingin report control<br /><strong>Posted:</strong> 12 March 2015 at 2:19pm<br /><br />Hi All,<div>I am trying to use conditional grouping in a report control based on the count. So if I am grouping based on phone numbers and if the count of the rows with same phone number is more that one then only I will group them otherwise show those rows as independent ones.</div><div>I tried to use the following method:</div><div>pReportCtrl-&gt;GetColumns()-&gt;GetGroupsOrder()-&gt;Add(pReportCtrl-&gt;GetColumns()-&gt;GetAt(0));</div><div><br></div><div>but this is grouping all the rows even if the count is 1.</div><div><br></div><div>Can someone suggest me what to do. let me know if you need more information.</div><div><br></div><div>thanks in advance.</div>]]>
   </description>
   <pubDate>Thu, 12 Mar 2015 14:19:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22555&amp;PID=73149&amp;title=conditional-groupingin-report-control#73149</guid>
  </item> 
  <item>
   <title><![CDATA[C++ Code Snippets : Direct2D Render]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15926&amp;PID=55854&amp;title=direct2d-render#55854</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3909">WaLtI</a><br /><strong>Subject:</strong> Direct2D Render<br /><strong>Posted:</strong> 27 December 2009 at 9:27am<br /><br />Here is my first version of t he Markup renderer who uses Direct2D and DirectWrite apis to render the Markup, currently it is slower than the GDI/GDI+<DIV>render but i think it is possible to get it faster.</DIV><DIV>&nbsp;</DIV><DIV>How to use:</DIV><DIV>&nbsp; Replace the current base class <FONT color=#010001 size=2><FONT color=#010001 size=2>CXTPMarkupContext with <FONT color=#010001 size=2><FONT color=#010001 size=2>CXTPMarkupDirect2DContext.</FONT></FONT></FONT></FONT></DIV><DIV><FONT color=#010001 size=2>&nbsp; On your OnPaint handler replace</FONT></DIV><DIV><FONT color=#010001 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2>&nbsp; C</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2><FONT color=#010001 size=2>XTPMarkupDrawingContext</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dcMarkup</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dc</FONT></FONT><FONT size=2>);</FONT></FONT></DIV><DIV><FONT color=#010001 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2>&nbsp; with</FONT></DIV><DIV><FONT color=#010001 size=2><FONT size=2><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>&nbsp; CXTPMarkupDirect2DDrawingContext</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dcMarkup</FONT></FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>this</FONT></FONT><FONT size=2>, </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dc</FONT></FONT><FONT size=2>);</P><DIV><a href="http://forum.codejock.com/uploads/20091227_092602_XTPMarkupDirect.rar" target="_blank">uploads/20091227_092602_XTPMarkupDirect.rar</A></DIV></FONT></DIV></FONT>]]>
   </description>
   <pubDate>Sun, 27 Dec 2009 09:27:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15926&amp;PID=55854&amp;title=direct2d-render#55854</guid>
  </item> 
  <item>
   <title><![CDATA[C++ Code Snippets : CXTPControlComboBox Color Picker class]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11163&amp;PID=42068&amp;title=cxtpcontrolcombobox-color-picker-class#42068</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4131">cpehonk</a><br /><strong>Subject:</strong> CXTPControlComboBox Color Picker class<br /><strong>Posted:</strong> 16 October 2008 at 10:41am<br /><br />Hi Oleg,<DIV>&nbsp;</DIV><DIV>I'm doing something wrong, i guess. I copied the colorcombox.* files into another project. Compilation is fine. Linking fails with some unknown functions (GetAccessibleType... and so on). Your sample compiles and links fine. What am I doing wrong in my project ?</DIV><DIV>&nbsp;</DIV><DIV>Greetings </DIV><DIV>Chris</DIV>]]>
   </description>
   <pubDate>Thu, 16 Oct 2008 10:41:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11163&amp;PID=42068&amp;title=cxtpcontrolcombobox-color-picker-class#42068</guid>
  </item> 
  <item>
   <title><![CDATA[C++ Code Snippets : *Read Before Posting*]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11184&amp;PID=37342&amp;title=read-before-posting#37342</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> *Read Before Posting*<br /><strong>Posted:</strong> 24 June 2008 at 11:05am<br /><br />   Hello all,<br><br>In an effort to keep this section of the forumon topic and easy to use we ask that you only post helpful codesnippets, sample applications and tutorials.<br><br>Please DO NOT ask questions in this section.&nbsp; There are other forums set up to ask questions for each product already.<br><br>We do however encourage to to contribute to a topic in this section.&nbsp; If you have a helpful contribution to make, please do so.<br><br>Ifyou feel you must reply to a topic here and you just can't seem to findthe answer in the article or you need further explanation than you canpost to that topic and the author will update the article to betteranswer the question.<br><br>The idea here is to eliminate all of thechitchat and allow users to read the article without interruption sothey can quickly find what they need.<br><br>If everyone takes the time to post something useful we might never need to ask a question<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle"> <br><br>Thanks]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 11:05:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11184&amp;PID=37342&amp;title=read-before-posting#37342</guid>
  </item> 
  <item>
   <title><![CDATA[C++ Code Snippets : CXTPControlComboBox Color Picker class]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11163&amp;PID=37263&amp;title=cxtpcontrolcombobox-color-picker-class#37263</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> CXTPControlComboBox Color Picker class<br /><strong>Posted:</strong> 23 June 2008 at 12:29pm<br /><br /><DIV>This sample shows how to create combo box and override its DrawItem method.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080623_122644_screen.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV><a href="https://forum.codejock.com/uploads/20080623_122808_ColorCombo.zip" target="_blank">ColorCombo.zip</A></DIV>]]>
   </description>
   <pubDate>Mon, 23 Jun 2008 12:29:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11163&amp;PID=37263&amp;title=cxtpcontrolcombobox-color-picker-class#37263</guid>
  </item> 
 </channel>
</rss>