<?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 : CXTPPropertyGridItemEnum: Mouse wheel behavior</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : CXTPPropertyGridItemEnum: Mouse wheel behavior]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 04:01:50 +0000</pubDate>
  <lastBuildDate>Mon, 16 Jul 2018 09:42:17 +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=23680</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[CXTPPropertyGridItemEnum: Mouse wheel behavior : CXTPPropertyGridItemEnum has an...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23680&amp;PID=76934&amp;title=cxtppropertygriditemenum-mouse-wheel-behavior#76934</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1169">farr02</a><br /><strong>Subject:</strong> 23680<br /><strong>Posted:</strong> 16 July 2018 at 9:42am<br /><br /><div><font size="2">CXTPPropertyGridItemEnum has an unusual mouse wheel behavior:</font></div><div><font size="2"><br></font></div><div><font size="2">1. Start the PropertyGrid.PropertyGrid.exe example (I used the one provided for download on the CodeJock homepage)<br></font></div><div><font size="2">2. Left-click on the left-hand column of the "SaveOnClose" row</font></div><div><font size="2">&nbsp;&nbsp; =&gt; "SaveOnClose" becomes highlighted</font></div><div><font size="2">3. Move (NOT CLICK) the mouse to the right-hand column of the "SaveOnClose" row</font></div><div><font size="2">&nbsp;&nbsp; =&gt; cursor changes from arrow to input</font></div><div><font size="2">4. Just use mouse wheel to change the combobox entry from "True" to "False". Note: Do NOT click!<br></font></div><div><font size="2">5. Click on the left-hand column of the "WindowFont" row</font></div><div><font size="2">&nbsp;&nbsp; =&gt; entry of the "SaveOnClose" combobox switches back from "False" to "True"</font></div><div><font size="2"><br></font></div><div><font size="2">The problem arises because the combobox of the CXTPPropertyGridItemEnum does not get the focus when just using the mouse wheel to change the current entry. Clicking into the right-hand column sets the focus and everything is fine.</font></div><div><font size="2"><br></font></div><div><font size="2">My solution was to manaually change<font face="Arial, Helvetica, sans-serif"> function <font face="Courier New, Courier, mono">BOOL CXTPPropertyGridInplaceEdit::OnMouseWheel(UINT nFlags, short zDelta, CPoint pt) </font>and add an explicit <font face="Courier New, Courier, mono">SetFocus()</font> to the inplace element (cf.</font></font><span style="color:blue;"><font size="2"><font face="Arial, Helvetica, sans-serif"> </font><font face="Courier New, Courier, mono">void</font></font></span><font size="2" face="Courier New, Courier, mono">&nbsp;CXTPPropertyGridItem::SetFocusToInplaceControl()</font><font size="2"><font face="Arial, Helvetica, sans-serif">) but maybe there is a better way.</font></font></div><div><font size="2" face="Arial, Helvetica, sans-serif"><br></font></div><div><font size="2" face="Arial, Helvetica, sans-serif">Best regards,</font></div><div><font size="2" face="Arial, Helvetica, sans-serif">&nbsp;&nbsp; Holger</font></div><div><font size="2" face="Arial, Helvetica, sans-serif"><br></font></div><div><font size="2" face="Arial, Helvetica, sans-serif">BTW: Currently I don't see my signature, so here is the necessary information about my toolkit version:<br></font></div><div><font size="2" face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;&nbsp; Product: Xtreme Toolkit Pro versions 16.3.1, 18.4.0<br>&nbsp;&nbsp;&nbsp; Platform: Windows 10 (64 Bit)</font></div><div><font size="2" face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;&nbsp; Language: Visual C++ 12.0 (Visual Studio 2013)<br></font></div>]]>
   </description>
   <pubDate>Mon, 16 Jul 2018 09:42:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23680&amp;PID=76934&amp;title=cxtppropertygriditemenum-mouse-wheel-behavior#76934</guid>
  </item> 
 </channel>
</rss>