<?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 : Themed horizontal scrollbar?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Themed horizontal scrollbar?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 14:57:45 +0000</pubDate>
  <lastBuildDate>Mon, 18 May 2009 18:43:00 +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=13451</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[Themed horizontal scrollbar? :   The problems with scrollbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=49119&amp;title=themed-horizontal-scrollbar#49119</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13451<br /><strong>Posted:</strong> 18 May 2009 at 6:43pm<br /><br /><img src="https://forum.codejock.com/uploads/20090518_184333_ScreenShot1.jpg" border="0"><DIV>&nbsp;</DIV><DIV>The problems with scrollbar and Office2007 theme is not related to Report Control - see snapshot from Skin Sample app </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 18 May 2009 18:43:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=49119&amp;title=themed-horizontal-scrollbar#49119</guid>
  </item> 
  <item>
   <title><![CDATA[Themed horizontal scrollbar? : Make some research about Dialogs...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=47561&amp;title=themed-horizontal-scrollbar#47561</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13451<br /><strong>Posted:</strong> 03 April 2009 at 7:20pm<br /><br /><P>Make some research about Dialogs and Scrollbars - e.g. in CodeProject</P>]]>
   </description>
   <pubDate>Fri, 03 Apr 2009 19:20:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=47561&amp;title=themed-horizontal-scrollbar#47561</guid>
  </item> 
  <item>
   <title><![CDATA[Themed horizontal scrollbar? :   mdoubson wrote:Who is the owner...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=47544&amp;title=themed-horizontal-scrollbar#47544</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3516">securigy</a><br /><strong>Subject:</strong> 13451<br /><strong>Posted:</strong> 03 April 2009 at 4:15am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by mdoubson" alt="Originally posted by mdoubson" style="vertical-align: text-bottom;" /> <strong>mdoubson wrote:</strong><br /><br />Who is the owner of m_wndVScrollBar&nbsp; and m_wndHScrollBar? Dialog? You need to call ScrollBar assignment operator - not just pointer = ... <DIV>&nbsp;</DIV><DIV><FONT size=2>Example:</FONT></DIV><DIV><FONT size=2>in header file</FONT></DIV><DIV><FONT size=2><P>CXTPCommandBarScrollBarCtrl m_wndVScrollBar;</P><P>CXTPCommandBarScrollBarCtrl m_wndHScrollBar;</P></FONT></DIV><DIV><FONT size=2>in implementation</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>m_wndVScrollBar.Create(WS_CHILD | WS_VISIBLE | SBS_VERT, CRect(0, 0, 0, 0), </FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>, 100);</DIV><DIV><P>m_wndVScrollBar.SetScrollBarStyle(xtpScrollStyleOffice2007Dark);</P><P>SetScrollBarCtrl(&amp;m_wndVScrollBar); // againg - set for View!</P><P>m_wndHScrollBar.Create(WS_CHILD | WS_VISIBLE | SBS_HORZ, CRect(0, 0, 0, 0), </FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>, 100);</P><P>m_wndHScrollBar.SetScrollBarStyle(xtpScrollStyleOffice2007Dark);</P><DIV>It works and both bars theme-enabled.</DIV><DIV>&nbsp;</DIV><DIV>Should be similar in dialog</DIV></FONT></DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>the owner of the scrollbar is CReportControl::CXTpReportCtrl and there is no SetScrollBar method in XTPReportCtrl - I dont have a view since CReportControl is a member of a dialog... that's exactly what my problem was... how do I go about it? I also did not realize that scrollbars should be of CXTPCommandBarScrollBarCtrl and not CXTScrollBar...</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 03 Apr 2009 04:15:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=47544&amp;title=themed-horizontal-scrollbar#47544</guid>
  </item> 
  <item>
   <title><![CDATA[Themed horizontal scrollbar? : Who is the owner of m_wndVScrollBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=47524&amp;title=themed-horizontal-scrollbar#47524</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13451<br /><strong>Posted:</strong> 02 April 2009 at 11:58pm<br /><br />Who is the owner of m_wndVScrollBar&nbsp; and m_wndHScrollBar? Dialog? You need to call ScrollBar assignment operator - not just pointer = ...<DIV>&nbsp;</DIV><DIV><FONT size=2>Example:</FONT></DIV><DIV><FONT size=2>in header file</FONT></DIV><DIV><FONT size=2><P>CXTPCommandBarScrollBarCtrl m_wndVScrollBar;</P><P>CXTPCommandBarScrollBarCtrl m_wndHScrollBar;</P></FONT></DIV><DIV><FONT size=2>in implementation</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>m_wndVScrollBar.Create(WS_CHILD | WS_VISIBLE | SBS_VERT, CRect(0, 0, 0, 0), </FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>, 100);</DIV><DIV><P>m_wndVScrollBar.SetScrollBarStyle(xtpScrollStyleOffice2007Dark);</P><P>SetScrollBarCtrl(&amp;m_wndVScrollBar); // againg - set for View!</P><P>m_wndHScrollBar.Create(WS_CHILD | WS_VISIBLE | SBS_HORZ, CRect(0, 0, 0, 0), </FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>, 100);</P><P>m_wndHScrollBar.SetScrollBarStyle(xtpScrollStyleOffice2007Dark);</P><DIV>It works and both bars theme-enabled.</DIV><DIV>&nbsp;</DIV><DIV>Should be similar in dialog</DIV></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 02 Apr 2009 23:58:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=47524&amp;title=themed-horizontal-scrollbar#47524</guid>
  </item> 
  <item>
   <title><![CDATA[Themed horizontal scrollbar? : I tried to use this sample, however...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=47519&amp;title=themed-horizontal-scrollbar#47519</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3516">securigy</a><br /><strong>Subject:</strong> 13451<br /><strong>Posted:</strong> 02 April 2009 at 7:21pm<br /><br />I tried to use this sample, however my <FONT size=2>CReportControl</FONT>::CXTPReportCtrl is placed directly on the dialog so I had to change the code since I dont have a View. Unfortunately, vertical scroll bar did not change, and horizonal bar not displayed at all... Any ideas?<DIV>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>void</FONT></FONT><FONT size=2> CReportControl::SetScrollBarStyle(XTPScrollBarStyle scrollStyle)</P><DIV>{</DIV><P>m_wndVScrollBar.Create(WS_CHILD | WS_VISIBLE | SBS_VERT, CRect(0, 0, 0, 0), </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>this</FONT></FONT><FONT size=2>, 100);</P><P>m_wndVScrollBar.SetScrollBarStyle(xtpScrollStyleOffice2007Dark);</P><P>m_wndHScrollBar.Create(WS_CHILD | WS_VISIBLE | SBS_HORZ, CRect(0, 0, 0, 0), </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>this</FONT></FONT><FONT size=2>, 100);</P><P>m_wndHScrollBar.SetScrollBarStyle(xtpScrollStyleOffice2007Dark);</P><P>CXTPScrollBar* pVScrollBar = (CXTPScrollBar*)GetScrollBarCtrl(SBS_VERT);</P><DIV></FONT><FONT size=2>CXTPScrollBar* pHScrollBar = (CXTPScrollBar*)GetScrollBarCtrl(SBS_HORZ);</FONT><FONT color=#008000 size=2><FONT color=#008000 size=2></DIV></FONT></FONT><FONT size=2><P>pVScrollBar = &amp;m_wndVScrollBar;</P><P>pHScrollBar = &amp;m_wndHScrollBar;</P></FONT><FONT size=2><P>}</P></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 02 Apr 2009 19:21:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=47519&amp;title=themed-horizontal-scrollbar#47519</guid>
  </item> 
  <item>
   <title><![CDATA[Themed horizontal scrollbar? : Right - it is simple and it&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=45734&amp;title=themed-horizontal-scrollbar#45734</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13451<br /><strong>Posted:</strong> 22 February 2009 at 1:37pm<br /><br />Right - it is simple and it's works. We&nbsp;will update our samples. Thanks!]]>
   </description>
   <pubDate>Sun, 22 Feb 2009 13:37:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=45734&amp;title=themed-horizontal-scrollbar#45734</guid>
  </item> 
  <item>
   <title><![CDATA[Themed horizontal scrollbar? : I suggest codejock modify its...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=45710&amp;title=themed-horizontal-scrollbar#45710</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1897">shineryu</a><br /><strong>Subject:</strong> 13451<br /><strong>Posted:</strong> 21 February 2009 at 6:04am<br /><br />I suggest codejock modify its core, and it's very simple! <DIV>the code is here<a href="https://forum.codejock.com/uploads/20090221_060401_ReportSampleEx-.rar" target="_blank">uploads/20090221_060401_ReportSampleEx-.rar</A></DIV>]]>
   </description>
   <pubDate>Sat, 21 Feb 2009 06:04:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=45710&amp;title=themed-horizontal-scrollbar#45710</guid>
  </item> 
  <item>
   <title><![CDATA[Themed horizontal scrollbar? : Very good - could you share this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=45689&amp;title=themed-horizontal-scrollbar#45689</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13451<br /><strong>Posted:</strong> 20 February 2009 at 4:09pm<br /><br />Very good - could you share this modifications with everybody? Should we modify Report Core for this case or app-level modifications is enough?]]>
   </description>
   <pubDate>Fri, 20 Feb 2009 16:09:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=45689&amp;title=themed-horizontal-scrollbar#45689</guid>
  </item> 
  <item>
   <title><![CDATA[Themed horizontal scrollbar? : No reply?  I modified ReportSample,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=45660&amp;title=themed-horizontal-scrollbar#45660</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1897">shineryu</a><br /><strong>Subject:</strong> 13451<br /><strong>Posted:</strong> 19 February 2009 at 11:22pm<br /><br />No reply? <DIV>I modified ReportSample, and I get below:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20090219_231953_2009-02-19_2127.png" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Very nice!</DIV><DIV>Only added about ten lines of code!</DIV>]]>
   </description>
   <pubDate>Thu, 19 Feb 2009 23:22:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=45660&amp;title=themed-horizontal-scrollbar#45660</guid>
  </item> 
  <item>
   <title><![CDATA[Themed horizontal scrollbar? : In ReportSample, we have a themed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=45628&amp;title=themed-horizontal-scrollbar#45628</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1897">shineryu</a><br /><strong>Subject:</strong> 13451<br /><strong>Posted:</strong> 19 February 2009 at 8:32am<br /><br /><DIV>In ReportSample, we have a themed vertical scrollbar, but the horizontal scrollbar is not themed!</DIV><DIV>&nbsp;</DIV><DIV>Can I have a Themed horizontal scrollbar?</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20090219_082951_2009-02-19_2127.png" border="0"></DIV>]]>
   </description>
   <pubDate>Thu, 19 Feb 2009 08:32:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13451&amp;PID=45628&amp;title=themed-horizontal-scrollbar#45628</guid>
  </item> 
 </channel>
</rss>