<?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 : Check Box Status of Tree ctrl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Check Box Status of Tree ctrl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 08:24:16 +0000</pubDate>
  <lastBuildDate>Mon, 26 Nov 2007 09:59:32 +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=8891</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[Check Box Status of Tree ctrl : Catch WM_LBUTTONDOWN and check...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8891&amp;PID=28826&amp;title=check-box-status-of-tree-ctrl#28826</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8891<br /><strong>Posted:</strong> 26 November 2007 at 9:59am<br /><br />Catch WM_LBUTTONDOWN and check state before and after. Same for WM_KEYDOWN:<DIV>&nbsp;</DIV><DIV>void CTreeViewCtrl::OnLButtonDown(UINT nFlags, CPoint point) <BR>{<BR>&nbsp;CTreeViewNode* pItem = 0;<BR>&nbsp;BOOL bChecked = FALSE;</DIV><DIV>&nbsp;if (m_bCheckboxes)<BR>&nbsp;{<BR>&nbsp;&nbsp;UINT nFlags;<BR>&nbsp;&nbsp;HTREEITEM hItem = GetTreeCtrl()-&gt;HitTest(point, &amp;nFlags);<BR>&nbsp;&nbsp;if (hItem &amp;&amp; (nFlags &amp; TVHT_ONITEMSTATEICON))<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;pItem = GetItem(hItem);<BR>&nbsp;&nbsp;&nbsp;bChecked = GetTreeCtrl()-&gt;GetCheck(hItem);<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>&nbsp;<BR>&nbsp;COleControl::OnLButtonDown(nFlags, point);</DIV><DIV>&nbsp;if (pItem &amp;&amp; (pItem-&gt;OleGetChecked() != bChecked))<BR>&nbsp;{<BR>&nbsp;&nbsp;FireNodeCheck(pItem-&gt;GetIDispatch(FALSE));<BR>&nbsp;}<BR>}</DIV>]]>
   </description>
   <pubDate>Mon, 26 Nov 2007 09:59:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8891&amp;PID=28826&amp;title=check-box-status-of-tree-ctrl#28826</guid>
  </item> 
  <item>
   <title><![CDATA[Check Box Status of Tree ctrl : Then how will i get if i have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8891&amp;PID=28812&amp;title=check-box-status-of-tree-ctrl#28812</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1726">Raj.krishnan</a><br /><strong>Subject:</strong> 8891<br /><strong>Posted:</strong> 26 November 2007 at 3:44am<br /><br />Then how will i get if i have checkboxes for items in treectrl]]>
   </description>
   <pubDate>Mon, 26 Nov 2007 03:44:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8891&amp;PID=28812&amp;title=check-box-status-of-tree-ctrl#28812</guid>
  </item> 
  <item>
   <title><![CDATA[Check Box Status of Tree ctrl : Hi, TreeCtrl doesn&amp;#039;t send...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8891&amp;PID=28811&amp;title=check-box-status-of-tree-ctrl#28811</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8891<br /><strong>Posted:</strong> 26 November 2007 at 3:16am<br /><br />Hi,<DIV>TreeCtrl doesn't send such message :(</DIV>]]>
   </description>
   <pubDate>Mon, 26 Nov 2007 03:16:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8891&amp;PID=28811&amp;title=check-box-status-of-tree-ctrl#28811</guid>
  </item> 
  <item>
   <title><![CDATA[Check Box Status of Tree ctrl : Hello,  Does anybody which MFC...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8891&amp;PID=28807&amp;title=check-box-status-of-tree-ctrl#28807</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1726">Raj.krishnan</a><br /><strong>Subject:</strong> 8891<br /><strong>Posted:</strong> 26 November 2007 at 1:33am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Does anybody which MFC message will come for the checkbox of treectrl afetr i chceked or unchecked</DIV><DIV>&nbsp;</DIV><DIV>Thanks in Advance&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 26 Nov 2007 01:33:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8891&amp;PID=28807&amp;title=check-box-status-of-tree-ctrl#28807</guid>
  </item> 
 </channel>
</rss>