<?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 : MarkupListBox</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : MarkupLabel Control : MarkupListBox]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 26 Apr 2026 00:22:20 +0000</pubDate>
  <lastBuildDate>Mon, 29 Mar 2010 07:46:13 +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=16535</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[MarkupListBox : Hello,found a solution.Handle...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16535&amp;PID=57838&amp;title=markuplistbox#57838</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 16535<br /><strong>Posted:</strong> 29 March 2010 at 7:46am<br /><br />Hello,<br><br>found a solution.<br>Handle WM_MOUSEWHEEL my self.<br><br>void CMarkupListBox::OnHandleMouseWheel(WPARAM wParam, LPARAM lParam)<br>{<br>&nbsp;&nbsp;&nbsp; short zDelta = GET_WHEEL_DELTA_WPARAM(wParam);<br><br>&nbsp;&nbsp;&nbsp; // Don't do anything if the vertical scrollbar is not enabled.<br>&nbsp;&nbsp;&nbsp; int scrollMin = 0, scrollMax = 0;<br>&nbsp;&nbsp;&nbsp; GetScrollRange(SB_VERT, &amp;scrollMin, &amp;scrollMax);<br>&nbsp;&nbsp;&nbsp; if ( scrollMin == scrollMax )<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;<br><br>&nbsp;&nbsp;&nbsp; // Compute the number of scrolling increments requested.<br>&nbsp;&nbsp;&nbsp; int numScrollIncrements = abs(zDelta) / WHEEL_DELTA;<br><br>&nbsp;&nbsp;&nbsp; // Each scrolling increment corresponds to a certain number of<br>&nbsp;&nbsp;&nbsp; // scroll lines (one scroll line is like a SB_LINEUP or SB_LINEDOWN).<br>&nbsp;&nbsp;&nbsp; // We need to query the system parameters for this value.<br>&nbsp;&nbsp;&nbsp; int numScrollLinesPerIncrement = 0;<br>&nbsp;&nbsp;&nbsp; ::SystemParametersInfo(SPI_GETWHEELSCROLLLINES, 0, &amp;numScrollLinesPerIncrement, 0);<br><br>&nbsp;&nbsp;&nbsp; // Check if a page scroll was requested.<br>&nbsp;&nbsp;&nbsp; if ( numScrollLinesPerIncrement == WHEEL_PAGESCROLL )<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SendMessage(WM_VSCROLL, zDelta &gt; 0 ? SB_PAGEUP : SB_PAGEDOWN, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; // Compute total number of lines to scroll.<br>&nbsp;&nbsp;&nbsp; int numScrollLines = numScrollIncrements * numScrollLinesPerIncrement;<br><br>&nbsp;&nbsp;&nbsp; // Adjust numScrollLines to slow down the scrolling a bit more.<br>&nbsp;&nbsp;&nbsp; numScrollLines = max(numScrollLines/3, 1);<br><br>&nbsp;&nbsp;&nbsp; // Do the scrolling.<br>&nbsp;&nbsp;&nbsp; for(int i = 0; i &lt; numScrollLines; ++i)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SendMessage(WM_VSCROLL, zDelta &gt; 0 ? SB_LINEUP : SB_LINEDOWN, 0);<br>}<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Mon, 29 Mar 2010 07:46:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16535&amp;PID=57838&amp;title=markuplistbox#57838</guid>
  </item> 
  <item>
   <title><![CDATA[MarkupListBox : Hello,i use the MarkupListBox...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16535&amp;PID=57836&amp;title=markuplistbox#57836</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 16535<br /><strong>Posted:</strong> 29 March 2010 at 6:30am<br /><br />Hello,<br><br>i use the MarkupListBox from MarkupSample.<br>But is you scroll with mouse wheel it's look like horror.<br>see markup sample (9 entrys).<br><br>Any solution for this ?<br><br>&nbsp; Jimmy<br>]]>
   </description>
   <pubDate>Mon, 29 Mar 2010 06:30:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16535&amp;PID=57836&amp;title=markuplistbox#57836</guid>
  </item> 
 </channel>
</rss>