<?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 : Negative range for the slider control</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Negative range for the slider control]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 18:20:42 +0000</pubDate>
  <lastBuildDate>Wed, 20 Aug 2008 08:40:43 +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=11891</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[Negative range for the slider control :    oleg wrote:Obviously in that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40154&amp;title=negative-range-for-the-slider-control#40154</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 11891<br /><strong>Posted:</strong> 20 August 2008 at 8:40am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />Obviously in that case you need set minimum range for spin too:<div>&nbsp;</div><div>&nbsp;&nbsp;CXTPPropertyGridInplaceSpinButton* pSpin = pItem-&gt;AddSpinButton();<br>&nbsp;&nbsp;pSpin-&gt;SetMin(-100);</div></td></tr></table><br>Yes, that's my stupidity - I had exactly the same piece of code as you have above, but I named the button *pButton, which already appeared before that (referencing a different class) and that didn't have a SetMin() method. Oh well... <img src="http://forum.codejock.com/smileys/smiley9.gif" border="0" align="absmiddle"> Thank you for the help!<br>]]>
   </description>
   <pubDate>Wed, 20 Aug 2008 08:40:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40154&amp;title=negative-range-for-the-slider-control#40154</guid>
  </item> 
  <item>
   <title><![CDATA[Negative range for the slider control : Obviously in that case you need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40152&amp;title=negative-range-for-the-slider-control#40152</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11891<br /><strong>Posted:</strong> 20 August 2008 at 8:33am<br /><br />Obviously in that case you need set minimum range for spin too:<DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;CXTPPropertyGridInplaceSpinButton* pSpin = pItem-&gt;AddSpinButton();<BR>&nbsp;&nbsp;pSpin-&gt;SetMin(-100);</DIV>]]>
   </description>
   <pubDate>Wed, 20 Aug 2008 08:33:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40152&amp;title=negative-range-for-the-slider-control#40152</guid>
  </item> 
  <item>
   <title><![CDATA[Negative range for the slider control :    oleg wrote:Hi,  Its because...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40150&amp;title=negative-range-for-the-slider-control#40150</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 11891<br /><strong>Posted:</strong> 20 August 2008 at 8:12am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />Hi,<div>&nbsp;</div><div>Its because you have also Spin with wrong range:</div><div>&nbsp;</div><div>Here modification in sample to make it work:</div><div>&nbsp;</div><div>&nbsp;&nbsp;pItem = pButtons-&gt;AddChildItem(new CXTPPropertyGridItemNumber(_T("Spin And Slider"), 60));<br>&nbsp;&nbsp;CXTPPropertyGridInplaceSlider* pSlider = pItem-&gt;AddSliderControl();<br>&nbsp;&nbsp;<strong>pSlider-&gt;SetMin(-100);</strong><br><strong>&nbsp;&nbsp;//pItem-&gt;AddSpinButton();</strong></div></td></tr></table><br>Hi,<br><br>Yes, it works without a spin button, but how can I make it work with a spin button as well?<br><br>Thanks!<br><br>&nbsp;&nbsp; Dennis<br><br>]]>
   </description>
   <pubDate>Wed, 20 Aug 2008 08:12:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40150&amp;title=negative-range-for-the-slider-control#40150</guid>
  </item> 
  <item>
   <title><![CDATA[Negative range for the slider control : Hi,  Its because you have also...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40142&amp;title=negative-range-for-the-slider-control#40142</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11891<br /><strong>Posted:</strong> 20 August 2008 at 6:25am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Its because you have also Spin with wrong range:</DIV><DIV>&nbsp;</DIV><DIV>Here modification in sample to make it work:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;pItem = pButtons-&gt;AddChildItem(new CXTPPropertyGridItemNumber(_T("Spin And Slider"), 60));<BR>&nbsp;&nbsp;CXTPPropertyGridInplaceSlider* pSlider = pItem-&gt;AddSliderControl();<BR>&nbsp;&nbsp;<strong>pSlider-&gt;SetMin(-100);</strong><BR><strong>&nbsp;&nbsp;//pItem-&gt;AddSpinButton();</strong></DIV>]]>
   </description>
   <pubDate>Wed, 20 Aug 2008 06:25:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40142&amp;title=negative-range-for-the-slider-control#40142</guid>
  </item> 
  <item>
   <title><![CDATA[Negative range for the slider control : I tried SetMin() first and it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40141&amp;title=negative-range-for-the-slider-control#40141</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 11891<br /><strong>Posted:</strong> 20 August 2008 at 4:51am<br /><br />I tried SetMin() first and it doesn't work either :(]]>
   </description>
   <pubDate>Wed, 20 Aug 2008 04:51:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40141&amp;title=negative-range-for-the-slider-control#40141</guid>
  </item> 
  <item>
   <title><![CDATA[Negative range for the slider control : Hi,  Use SetMin method of CXTPPropertyGridInplaceSlider....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40130&amp;title=negative-range-for-the-slider-control#40130</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11891<br /><strong>Posted:</strong> 20 August 2008 at 2:10am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Use SetMin method of CXTPPropertyGridInplaceSlider.</DIV>]]>
   </description>
   <pubDate>Wed, 20 Aug 2008 02:10:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40130&amp;title=negative-range-for-the-slider-control#40130</guid>
  </item> 
  <item>
   <title><![CDATA[Negative range for the slider control : Hello all,I can&amp;#039;t seem to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40120&amp;title=negative-range-for-the-slider-control#40120</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 11891<br /><strong>Posted:</strong> 19 August 2008 at 6:17pm<br /><br />Hello all,<br><br>I can't seem to be able to set a negative range on the property grid slider control.<br><br>For example, if I want the slider to be from -100 to +100, how can I do that?<br><br>In the PropertyGrid sample, I've tried doing this (for the "Spin and Slider" item), of course checking that underlying slider window actually exists first:<br><br>-&gt;GetSliderCtrl()-&gt;SetRange(-100, 100);<br><br>but that doesn't work. It produces a slider that has a correct range, but when you try to slide it (or use the up/down buttons) to go below 0, it just stops (halfway in this example, so the range is actually set correctly, I presume).<br><br>Can you please advise on how to solve this?<br><br>Thanks,<br><br>&nbsp;&nbsp; Dennis<br>]]>
   </description>
   <pubDate>Tue, 19 Aug 2008 18:17:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11891&amp;PID=40120&amp;title=negative-range-for-the-slider-control#40120</guid>
  </item> 
 </channel>
</rss>