<?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 : CXTCheckListBox check multi-select behavior</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTCheckListBox check multi-select behavior]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 29 Apr 2026 07:36:36 +0000</pubDate>
  <lastBuildDate>Fri, 07 Nov 2014 16:42:40 +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=22452</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[CXTCheckListBox check multi-select behavior : Implemented my own OnLButtonDown()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22452&amp;PID=72896&amp;title=cxtchecklistbox-check-multiselect-behavior#72896</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1284">franji1</a><br /><strong>Subject:</strong> 22452<br /><strong>Posted:</strong> 07 November 2014 at 4:42pm<br /><br />Implemented my own OnLButtonDown() method that merges the VK_SPACE handling of the check box with the CXTCheckListBox::OnLButtonDown.  Works great.<br /><br />HOWEVER, double clicking on a check box (or more specifically checking/unchecking relatively quickly) causes CXTCheckListBox::OnLButtonDblClk to misbehave like CXTCheckListBox::OnLButtonDown.  So I will need to "override" that message's behavior.<br />]]>
   </description>
   <pubDate>Fri, 07 Nov 2014 16:42:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22452&amp;PID=72896&amp;title=cxtchecklistbox-check-multiselect-behavior#72896</guid>
  </item> 
  <item>
   <title><![CDATA[CXTCheckListBox check multi-select behavior : I dug deeper into the XTP code,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22452&amp;PID=72895&amp;title=cxtchecklistbox-check-multiselect-behavior#72895</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1284">franji1</a><br /><strong>Subject:</strong> 22452<br /><strong>Posted:</strong> 07 November 2014 at 1:41pm<br /><br />I dug deeper into the XTP code, and there is a method SetSelectionCheck, which is called ONE place, in CXTCheckListBox::OnKeyDown when you hit the space bar.<br /><br />So, when I multi-select and hit the SPACE BAR, it checks/unchecks the entire selection (and does not change the multi-selection state).  This is the desired behavior I want when I click on a check box.<br /><br />I looked at the OnLButtonDown and it does not care about multi-selection at all (and hence never calls SetSelectionCheck).<br /><br />So, I think I just have to override (technically catch the notification) OnLButtonDown  and tweak it to the SPACE BAR behavior when there are multiple selections, because I don't see any "settings" that would cause it to behave like the SPACE BAR event.]]>
   </description>
   <pubDate>Fri, 07 Nov 2014 13:41:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22452&amp;PID=72895&amp;title=cxtchecklistbox-check-multiselect-behavior#72895</guid>
  </item> 
  <item>
   <title><![CDATA[CXTCheckListBox check multi-select behavior : My CXTCheckListBox Selection style...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22452&amp;PID=72894&amp;title=cxtchecklistbox-check-multiselect-behavior#72894</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1284">franji1</a><br /><strong>Subject:</strong> 22452<br /><strong>Posted:</strong> 07 November 2014 at 10:58am<br /><br />My CXTCheckListBox Selection style is set to "Extended" in my dialog's resource.  This means I can Ctrl+Click and Shift+Click and get multi-selected items in my list box.<br /><br />When I have multiple selections, when I click on one of the checkboxes, what happens is that the selection goes away and toggles the selected state of the item associated with the checkbox.<br /><br />In the base MFC CCheckListBox implementation, when I do this, it maintains the selection and it checks/unchecks the entire selection.  This is the behavior I desire.<br /><br />Is there a way to configure the CXTCheckListBox to behave like the base CCheckListBox?<br /><br />I am using XTP Extreme Toolkit Pro 13.2.<br /><br />Thanks for reading!<br /><br />P.S. The Samples\Controls\CheckListBox sample for CXTCheckListBox is not as good at highlighting its feature set like the other Controls examples (most are EXCELLENT to demonstrating programmatic behaviors).<br /><br />]]>
   </description>
   <pubDate>Fri, 07 Nov 2014 10:58:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22452&amp;PID=72894&amp;title=cxtchecklistbox-check-multiselect-behavior#72894</guid>
  </item> 
 </channel>
</rss>