<?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 : Border not painted correctly</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Border not painted correctly]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 05 Jun 2026 20:35:16 +0000</pubDate>
  <lastBuildDate>Fri, 04 Aug 2006 16:23:59 +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=4739</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[Border not painted correctly : Hah! You&amp;#039;re da man!  Thank...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4739&amp;PID=14705&amp;title=border-not-painted-correctly#14705</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 4739<br /><strong>Posted:</strong> 04 August 2006 at 4:23pm<br /><br />Hah! You're da man!<DIV>&nbsp;</DIV><DIV>Thank you for your fast response!</DIV>]]>
   </description>
   <pubDate>Fri, 04 Aug 2006 16:23:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4739&amp;PID=14705&amp;title=border-not-painted-correctly#14705</guid>
  </item> 
  <item>
   <title><![CDATA[Border not painted correctly : Hi,  m_reportShortQuestions.ModifyStyleEx(0,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4739&amp;PID=14704&amp;title=border-not-painted-correctly#14704</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4739<br /><strong>Posted:</strong> 04 August 2006 at 4:14pm<br /><br />Hi,<DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>m_reportShortQuestions.ModifyStyleEx(0, WS_EX_STATICEDGE, <strong>SWP_FRAMECHANGED</strong>);</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2><img src="https://forum.codejock.com/smileys/smiley1.gif" border="0"></DIV></FONT>]]>
   </description>
   <pubDate>Fri, 04 Aug 2006 16:14:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4739&amp;PID=14704&amp;title=border-not-painted-correctly#14704</guid>
  </item> 
  <item>
   <title><![CDATA[Border not painted correctly : I made a test project which demonstrates...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4739&amp;PID=14700&amp;title=border-not-painted-correctly#14700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 4739<br /><strong>Posted:</strong> 04 August 2006 at 2:45pm<br /><br />I made a test project which demonstrates the problem.<DIV>&nbsp;</DIV><DIV>Please take a look.</DIV><DIV><a href="http://www.bostream.nu/krisse/report_missing_border.zip" target="_blank">http://www.bostream.nu/krisse/report_missing_border.zip</A></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 04 Aug 2006 14:45:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4739&amp;PID=14700&amp;title=border-not-painted-correctly#14700</guid>
  </item> 
  <item>
   <title><![CDATA[Border not painted correctly : void CMyView::OnInitialUpdate(){...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4739&amp;PID=14698&amp;title=border-not-painted-correctly#14698</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 4739<br /><strong>Posted:</strong> 04 August 2006 at 2:21pm<br /><br /><P>void CMyView::OnInitialUpdate()<BR>{<BR>&nbsp;&nbsp;&nbsp; CXTResizeFormView::OnInitialUpdate();</P><P>&nbsp;&nbsp;&nbsp; if (m_bInitDone)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;</P><P>&nbsp;&nbsp;&nbsp; SetResize(IDC_REPORT_SHORTQUESTIONS, SZ_TOP_LEFT, SZ_TOP_RIGHT);<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; // SetScaleToFitSize(CSize(1, 1));<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.ModifyStyle(0, WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_TABSTOP);<BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.ModifyStyleEx(0, WS_EX_STATICEDGE);<BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.GetReportHeader()-&gt;AllowColumnReorder(FALSE);<BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.GetReportHeader()-&gt;AllowColumnSort(FALSE);<BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.GetReportHeader()-&gt;AllowColumnResize(FALSE);<BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.GetReportHeader()-&gt;AllowColumnRemove(FALSE);<BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.FocusSubItems(TRUE);<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.AddColumn(new CXTPReportColumn(0, _T("Fråga"), 200));</P><P>&nbsp;&nbsp;&nbsp; CXTPReportColumn *pColumnYes = new CXTPReportColumn(1, _T("Ja"), 28);<BR>&nbsp;&nbsp;&nbsp; CXTPReportColumn *pColumnNo = new CXTPReportColumn(2, _T("Nej"), 28);<BR>&nbsp;&nbsp;&nbsp; CXTPReportColumn *pColumnUnknown = new CXTPReportColumn(3, _T("Okänt"), 28);</P><P>&nbsp;&nbsp;&nbsp; pColumnYes-&gt;SetAlignment(xtpColumnIconCenter);<BR>&nbsp;&nbsp;&nbsp; pColumnYes-&gt;SetHeaderAlignment(DT_CENTER);<BR>&nbsp;&nbsp;&nbsp; pColumnNo-&gt;SetAlignment(xtpColumnIconCenter);<BR>&nbsp;&nbsp;&nbsp; pColumnNo-&gt;SetHeaderAlignment(DT_CENTER);<BR>&nbsp;&nbsp;&nbsp; pColumnUnknown-&gt;SetAlignment(xtpColumnIconCenter);<BR>&nbsp;&nbsp;&nbsp; pColumnUnknown-&gt;SetHeaderAlignment(DT_CENTER);<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.AddColumn(pColumnYes);<BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.AddColumn(pColumnNo);<BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.AddColumn(pColumnUnknown);</P><P>&nbsp;&nbsp;&nbsp; const int NUM_SHORT = 16;<BR>&nbsp;&nbsp;&nbsp; for (int i = 0; i &lt; NUM_SHORT; i++)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_reportShortQuestions.AddRecord(new CShortQuestionRecord(i + 1, szShortQuestions<em>));<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.SetMultipleSelection(FALSE);<BR>&nbsp;&nbsp;&nbsp; m_reportShortQuestions.Populate();</P><P>&nbsp;&nbsp;&nbsp; m_bInitDone = TRUE;<BR>}</P><DIV>&nbsp;</DIV><DIV>Should I strip my project and send you a sample where the error is present, or can you find the error by looking at the code above?</DIV>]]>
   </description>
   <pubDate>Fri, 04 Aug 2006 14:21:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4739&amp;PID=14698&amp;title=border-not-painted-correctly#14698</guid>
  </item> 
  <item>
   <title><![CDATA[Border not painted correctly : Hi, Show some code - how you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4739&amp;PID=14696&amp;title=border-not-painted-correctly#14696</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4739<br /><strong>Posted:</strong> 04 August 2006 at 1:49pm<br /><br />Hi,<DIV>Show some code - how you create report, what styles, etc.</DIV>]]>
   </description>
   <pubDate>Fri, 04 Aug 2006 13:49:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4739&amp;PID=14696&amp;title=border-not-painted-correctly#14696</guid>
  </item> 
  <item>
   <title><![CDATA[Border not painted correctly : I&amp;#039;ve been playing a bit with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4739&amp;PID=14693&amp;title=border-not-painted-correctly#14693</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 4739<br /><strong>Posted:</strong> 04 August 2006 at 12:59pm<br /><br />I've been playing a bit with the report control and it&nbsp;worked just fine until I put it inside a tab control. Not sure if it's important, but I have a quite advanced window hierarchy:<DIV></DIV>I have a view with a splitter. In this splitter one of the panes is another view with a tab control (CXTPTabControl). This tab control has a number of views. Now, finally, in one of these views I have a report control.<DIV>&nbsp;</DIV><DIV>Please note that ALL (all views, frames and tabs) my windows have the WS_CLIPCHILDREN | WS_CLIPSIBLINGS style enabled. Also, my report control has the WS_EX_STATICEDGE style. My report controls look OK in other windows, but not inside my tab control!</DIV><DIV>&nbsp;</DIV><DIV>PROBLEM:</DIV><DIV>The border of the report control is not painted correctly. I tried disabling the skinning engine, but with no success. What am I doing wrong?</DIV><DIV>&nbsp;</DIV><DIV>Screenshot of the borderless report control:</DIV><DIV><a href="http://www.bostream.nu/krisse/missing_border.gif" target="_blank">http://www.bostream.nu/krisse/missing_border.gif</A></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 04 Aug 2006 12:59:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4739&amp;PID=14693&amp;title=border-not-painted-correctly#14693</guid>
  </item> 
 </channel>
</rss>