<?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 stop ComboBox Click event?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : How to stop ComboBox Click event?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:51:40 +0000</pubDate>
  <lastBuildDate>Fri, 02 Oct 2020 17:33:47 +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=24076</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 stop ComboBox Click event? : Did you try a simple subclass...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24076&amp;PID=77889&amp;title=how-to-stop-combobox-click-event#77889</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24076<br /><strong>Posted:</strong> 02 October 2020 at 5:33pm<br /><br /><div>Did you try a simple subclass approach and trap the CBN_SELCHANGE notification by overriding WindowProc, which is virtual? You can decide to ignore the notification or not.<br></div><div><br></div><div>One approach would be to subclass the windows control GetClassInfo and RegisterClass. Then in your own window proc (or message map if using MFC), you can ignore the sel changed message using a method to turn it off and on.</div><div><br></div><div>Once registered you can drop it on a dialog using the custom control in the toolbox or you can use SubClassDlgItem and to swap out the control using code when the dialog is created.</div><div><br></div><div>Either way, you have to be careful about what to do if the CBN_DROPDOWN message arrives as users can arrow down and enter or just move down and click an item.<br></div>]]>
   </description>
   <pubDate>Fri, 02 Oct 2020 17:33:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24076&amp;PID=77889&amp;title=how-to-stop-combobox-click-event#77889</guid>
  </item> 
  <item>
   <title><![CDATA[How to stop ComboBox Click event? : When typing ahead, I want to suspend...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24076&amp;PID=77881&amp;title=how-to-stop-combobox-click-event#77881</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9406">jquerijero</a><br /><strong>Subject:</strong> 24076<br /><strong>Posted:</strong> 29 September 2020 at 2:58pm<br /><br />When typing ahead, I want to suspend the Click (SelectionChanged) event and only fire it when tabbing out of the control.]]>
   </description>
   <pubDate>Tue, 29 Sep 2020 14:58:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24076&amp;PID=77881&amp;title=how-to-stop-combobox-click-event#77881</guid>
  </item> 
 </channel>
</rss>