<?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 : problem in slider Appearance</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : problem in slider Appearance]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 16:26:56 +0000</pubDate>
  <lastBuildDate>Fri, 11 Jul 2008 02:47:53 +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=11367</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[problem in slider Appearance : with XTP_EXECUTE you can&amp;#039;t...  Solution...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38199&amp;title=problem-in-slider-appearance#38199</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11367<br /><strong>Posted:</strong> 11 July 2008 at 2:47am<br /><br /><P>with XTP_EXECUTE you can't...</P><DIV>&nbsp;</DIV><DIV>Solution is override <FONT size=2>CXTPControlScrollBar and its void CXTPControlScrollBar::OnScroll(UINT nSBCode, UINT nPos) method and add own code.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Original code:</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><BR>void CXTPControlScrollBar::OnScroll(UINT nSBCode, UINT nPos)<BR>{<BR>&nbsp;int nCurPos = GetPos();</DIV><DIV>&nbsp;switch (nSBCode)<BR>&nbsp;{<BR>&nbsp;&nbsp;case SB_TOP: nCurPos = m_nMin; break;<BR>&nbsp;&nbsp;case SB_BOTTOM: nCurPos = m_nMax; break;</DIV><DIV>&nbsp;&nbsp;case SB_LINEUP: nCurPos = max(nCurPos - 1, m_nMin); break;<BR>&nbsp;&nbsp;case SB_LINEDOWN: nCurPos = min(nCurPos + 1, m_nMax); break;</DIV><DIV>&nbsp;&nbsp;case SB_THUMBTRACK: nCurPos = nPos; break;<BR>&nbsp;&nbsp;case SB_PAGEUP: nCurPos = max(nCurPos - m_nMax / 10, m_nMin); break;<BR>&nbsp;&nbsp;case SB_PAGEDOWN: nCurPos = min(nCurPos + m_nMax / 10, m_nMax); break;<BR>&nbsp;}</DIV><DIV>&nbsp;if (nCurPos == m_nPos)<BR>&nbsp;&nbsp;return;</DIV><DIV>&nbsp;m_nPos = nCurPos;<BR>&nbsp;RedrawParent(FALSE);</DIV><DIV>&nbsp;NotifySite(CBN_XTP_EXECUTE);<BR>}</DIV>]]>
   </description>
   <pubDate>Fri, 11 Jul 2008 02:47:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38199&amp;title=problem-in-slider-appearance#38199</guid>
  </item> 
  <item>
   <title><![CDATA[problem in slider Appearance : Hello, if i handle the event...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38185&amp;title=problem-in-slider-appearance#38185</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4248">vijaymahajan</a><br /><strong>Subject:</strong> 11367<br /><strong>Posted:</strong> 10 July 2008 at 11:41pm<br /><br /><P>Hello,</P><P>if i handle the event of slider using ON_XTP_EXCECUTE(),then how can i check the <FONT size=2>SB_ENDSCROLL condition as i want to do something once the scroll ends.</P><DIV></DIV><DIV></DIV>Please guide me accordingly.<DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV>Thanks And Regards,<DIV></DIV>Vijay.</FONT>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 23:41:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38185&amp;title=problem-in-slider-appearance#38185</guid>
  </item> 
  <item>
   <title><![CDATA[problem in slider Appearance :   Simon HB9DRV wrote:  vijaymahajan...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38144&amp;title=problem-in-slider-appearance#38144</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 11367<br /><strong>Posted:</strong> 10 July 2008 at 11:25am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Simon HB9DRV" alt="Originally posted by Simon HB9DRV" style="vertical-align: text-bottom;" /> <strong>Simon HB9DRV wrote:</strong><br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by vijaymahajan" alt="Originally posted by vijaymahajan" style="vertical-align: text-bottom;" /> <strong>vijaymahajan wrote:</strong><br /><br /><FONT size=2><img src="https://forum.codejock.com/uploads/20080710_013152_sliderAppearanc.bmp" border="0"></FONT></td></tr></table> <DIV>&nbsp;</DIV><DIV>Oleg, how can I create a slider with this appearance on a toolbar? I can't find any examples :-(</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>SetScrollBarStyle(xtpScrollStyleSlider); !!!</DIV>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 11:25:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38144&amp;title=problem-in-slider-appearance#38144</guid>
  </item> 
  <item>
   <title><![CDATA[problem in slider Appearance :   vijaymahajan wrote:   Oleg,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38143&amp;title=problem-in-slider-appearance#38143</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 11367<br /><strong>Posted:</strong> 10 July 2008 at 11:20am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by vijaymahajan" alt="Originally posted by vijaymahajan" style="vertical-align: text-bottom;" /> <strong>vijaymahajan wrote:</strong><br /><br /><FONT size=2><img src="https://forum.codejock.com/uploads/20080710_013152_sliderAppearanc.bmp" border="0"></FONT></td></tr></table> <DIV>&nbsp;</DIV><DIV>Oleg, how can I create a slider with this appearance on a toolbar? I can't find any examples :-(</DIV>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 11:20:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38143&amp;title=problem-in-slider-appearance#38143</guid>
  </item> 
  <item>
   <title><![CDATA[problem in slider Appearance : Hi,  Right. now its our issue....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38128&amp;title=problem-in-slider-appearance#38128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11367<br /><strong>Posted:</strong> 10 July 2008 at 8:57am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Right. now its our issue. :(</DIV><DIV>Slider always use "0" as minimum. Please use range 0 - 150 instead and manually convert it (Value - 75) in Execute event.</DIV>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 08:57:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38128&amp;title=problem-in-slider-appearance#38128</guid>
  </item> 
  <item>
   <title><![CDATA[problem in slider Appearance : Thanks a lot for your reply.Lot...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38120&amp;title=problem-in-slider-appearance#38120</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4248">vijaymahajan</a><br /><strong>Subject:</strong> 11367<br /><strong>Posted:</strong> 10 July 2008 at 7:25am<br /><br />Thanks a lot for your reply.Lot of my work was pending because of this.Thanks again.<DIV>&nbsp;</DIV><DIV>But now one new problem i am facing,if i click on '&nbsp;+ ' sign,the moving tab on slider moves properly,but if i click on ' - ' sign the&nbsp;moving tab&nbsp;doesnt move anywhere.it directly moves to 0 position when i click on ' - ' sign.</DIV><DIV>I tried many combinations of setrange() function,but unfortunately nothing worked.</DIV><DIV>Please guide me why the slider tab not moving properly.</DIV><DIV>&nbsp;</DIV><DIV>Thanks And Regards,</DIV><DIV>Vijay</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 07:25:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38120&amp;title=problem-in-slider-appearance#38120</guid>
  </item> 
  <item>
   <title><![CDATA[problem in slider Appearance : its disabled.  You need enable...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38100&amp;title=problem-in-slider-appearance#38100</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11367<br /><strong>Posted:</strong> 10 July 2008 at 5:35am<br /><br /><P>its disabled.</P><DIV>&nbsp;</DIV><DIV>You need enable it to add update handler for <FONT size=2>ID_SLIDER_BLUR_SHARP command or </FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>pSliderBlurSharp-&gt;SetFlags(xtpFlagManualUpdate);</FONT></DIV><DIV><FONT size=2>pSliderBlurSharp-&gt;SetEnabled(TRUE);</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 05:35:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38100&amp;title=problem-in-slider-appearance#38100</guid>
  </item> 
  <item>
   <title><![CDATA[problem in slider Appearance : Hello, CXTPRibbonGroup* pGroupColorCorrect...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38080&amp;title=problem-in-slider-appearance#38080</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4248">vijaymahajan</a><br /><strong>Subject:</strong> 11367<br /><strong>Posted:</strong> 10 July 2008 at 1:39am<br /><br />Hello,<FONT size=2><P>CXTPRibbonGroup* pGroupColorCorrect = pTab-&gt;AddGroup(_T("ColorCorrectGroup"));CXTPControlScrollBar* pSliderBlurSharp = (CXTPControlScrollBar*)pGroupColorCorrect-&gt;Add(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPControlScrollBar(), ID_SLIDER_BLUR_SHARP);pSliderBlurSharp-&gt;SetScrollBarStyle(xtpScrollStyleSlider);pSliderBlurSharp-&gt;SetRange(-75,75);pSliderBlurSharp-&gt;SetPos(50);</FONT><FONT color=#008000 size=2>//pSliderBlurSharp-&gt;SetFlags(xtpFlagNoMovable | xtpFlagSkipFocus); </FONT><FONT size=2>pSliderBlurSharp-&gt;SetFlags(xtpFlagSkipFocus); pSliderBlurSharp-&gt;SetWidth(150);pSliderBlurSharp-&gt;SetHeight(10);pSliderBlurSharp-&gt;SetTooltip(_T("Blur&lt;---&gt;Sharp"));</P><DIV></DIV><P>i created one slider using above code.But the sliding icon is not appearing on it.Please tell me what is the solution for this.you can see for first slider there is no sliding icon.<img src="https://forum.codejock.com/uploads/20080710_013152_sliderAppearanc.bmp" border="0"></P><P>please give the solution for this problem.</P><DIV>Thanks And Regards,</DIV><DIV>Vijay.</DIV></FONT>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 01:39:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11367&amp;PID=38080&amp;title=problem-in-slider-appearance#38080</guid>
  </item> 
 </channel>
</rss>