<?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 : ReportControl scrollbars draw problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : ReportControl scrollbars draw problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 02:13:30 +0000</pubDate>
  <lastBuildDate>Fri, 07 Apr 2017 10:01:51 +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=23276</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[ReportControl scrollbars draw problem : Hello Mihey,Problem in method...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23276&amp;PID=75704&amp;title=reportcontrol-scrollbars-draw-problem#75704</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23276<br /><strong>Posted:</strong> 07 April 2017 at 10:01am<br /><br />Hello Mihey,<br><br>Problem in method CXTPReportThemeOffice2013::DrawWindowFrame()<br>I can advice to using&nbsp;SetScrollInfo() to update scrollBars<table width="99%"><tr><td><pre class="BBcode">void CXTPReportThemeOffice2013::DrawWindowFrame(CDC* pDC, CRect rcWindow)<div>{</div><div>&nbsp; &nbsp; if (::IsWindow(m_pControl-&gt;GetSafeHwnd()))</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (m_pControl-&gt;GetExStyle() &amp; WS_EX_STATICEDGE)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pDC-&gt;Draw3dRect(rcWindow, m_clrBtnFace, m_clrBtnFace);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SCROLLINFO &nbsp;si;</font></b></div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; si.cbSize = sizeof(SCROLLINFO);</font></b></div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; m_pControl-&gt;GetScrollInfo(SB_VERT, &amp;si, SIF_ALL);</font></b></div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; m_pControl-&gt;SetScrollInfo(SB_VERT, &amp;si); // Note: Causes an OnSize message</font></b></div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; m_pControl-&gt;GetScrollInfo(SB_HORZ, &amp;si, SIF_ALL);</font></b></div><div><b><font color="#00cc00">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; m_pControl-&gt;SetScrollInfo(SB_HORZ, &amp;si); // Note: Causes an OnSize message</font></b></div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CXTPReportPaintManager::DrawWindowFrame(pDC, rcWindow);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div>}</pre></td></tr></table><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Fri, 07 Apr 2017 10:01:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23276&amp;PID=75704&amp;title=reportcontrol-scrollbars-draw-problem#75704</guid>
  </item> 
  <item>
   <title><![CDATA[ReportControl scrollbars draw problem : Hi,a workaround for the problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23276&amp;PID=75679&amp;title=reportcontrol-scrollbars-draw-problem#75679</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=19">mihey</a><br /><strong>Subject:</strong> 23276<br /><strong>Posted:</strong> 30 March 2017 at 8:10am<br /><br />Hi,<br /><br />a workaround for the problem at the moment is to do not use WS_EX_STATICEDGE style for the control, but I'm not very satisfied with it.<br /><br />Best regards,<br />Mikhail]]>
   </description>
   <pubDate>Thu, 30 Mar 2017 08:10:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23276&amp;PID=75679&amp;title=reportcontrol-scrollbars-draw-problem#75679</guid>
  </item> 
  <item>
   <title><![CDATA[ReportControl scrollbars draw problem : Hi,I just found out, that the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23276&amp;PID=75580&amp;title=reportcontrol-scrollbars-draw-problem#75580</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=19">mihey</a><br /><strong>Subject:</strong> 23276<br /><strong>Posted:</strong> 01 March 2017 at 9:32am<br /><br />Hi,<br /><br />I just found out, that the problem has something to do with SetThemextpReportThemeOffice2013 theme.<br /><br />For me it looks now like a bug. It even can be reproduced with ReportDialog sample in XTP 17.3.<br /><br />You only have to add some more records and call <br />m_wndReportCtrl.SetTheme(xtpReportThemeOffice2013, TRUE);<br /><br />after all. You'll see that the scrollbar is missing. <br /><br /><br />Best regards, <br />Mikhail<br />]]>
   </description>
   <pubDate>Wed, 01 Mar 2017 09:32:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23276&amp;PID=75580&amp;title=reportcontrol-scrollbars-draw-problem#75580</guid>
  </item> 
  <item>
   <title><![CDATA[ReportControl scrollbars draw problem : Hi everyone,I&amp;#039;m having a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23276&amp;PID=75579&amp;title=reportcontrol-scrollbars-draw-problem#75579</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=19">mihey</a><br /><strong>Subject:</strong> 23276<br /><strong>Posted:</strong> 01 March 2017 at 8:40am<br /><br />Hi everyone,<br /><br />I'm having a problem with CXTPReportControl scrollbars used inside of CXTPResizePropertySheet page.<br /><br />By any reason scrollbars are not drawn properly if I switch between pages.<br /><br />See on the screenshot:<br /> <img src="uploads/19/01-03-_2017_12-40-00.bmp" border="0" /><br /><br /><br />It looks like a typical re-draw problem. If I do a resize or move columns, everything appears correct with scrollbars.<br /><br />I've tried to workaround the problem using AdjustScrollBars() or RedrawControl() methods inside of Page::OnSetActive() handler but without any success <img src="http://forum.codejock.com/smileys/smiley6.gif" border="0" align="middle" />.<br /><br />Does anyone have any idea or a suggestion?<br /><br />Best regards,<br />Mikhail<br /><br />XTP 17.3 MFC VC++7.1 (2003), Win7 x64<br />]]>
   </description>
   <pubDate>Wed, 01 Mar 2017 08:40:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23276&amp;PID=75579&amp;title=reportcontrol-scrollbars-draw-problem#75579</guid>
  </item> 
 </channel>
</rss>