<?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 : XTPPropertyGrid inside CPropertyPage</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : XTPPropertyGrid inside CPropertyPage]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 25 May 2026 09:07:39 +0000</pubDate>
  <lastBuildDate>Fri, 20 Jul 2007 08:26:08 +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=7632</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[XTPPropertyGrid inside CPropertyPage : ps, if there is a background bitmap,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24591&amp;title=xtppropertygrid-inside-cpropertypage#24591</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 7632<br /><strong>Posted:</strong> 20 July 2007 at 8:26am<br /><br />ps, if there is a background bitmap, won't that FillRect get the offset wrong, and start at the beginning of the bitmap pattern?&nbsp; That won't align with the background bitmap of the parent.<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 20 Jul 2007 08:26:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24591&amp;title=xtppropertygrid-inside-cpropertypage#24591</guid>
  </item> 
  <item>
   <title><![CDATA[XTPPropertyGrid inside CPropertyPage : I&amp;#039;ll try that - can a HBRUSH...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24590&amp;title=xtppropertygrid-inside-cpropertypage#24590</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 7632<br /><strong>Posted:</strong> 20 July 2007 at 8:25am<br /><br />I'll try that - can a HBRUSH be used to draw a background bitmap?]]>
   </description>
   <pubDate>Fri, 20 Jul 2007 08:25:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24590&amp;title=xtppropertygrid-inside-cpropertypage#24590</guid>
  </item> 
  <item>
   <title><![CDATA[XTPPropertyGrid inside CPropertyPage : Hello,  Yes its designed, we...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24587&amp;title=xtppropertygrid-inside-cpropertypage#24587</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7632<br /><strong>Posted:</strong> 20 July 2007 at 7:05am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Yes its designed, we will add m_bTransparent flag for next release.</DIV><DIV>&nbsp;</DIV><DIV>You can patch CXTPPropertyGridPaintManager::FillPropertyGrid now</DIV><DIV>&nbsp;</DIV>void CXTPPropertyGridPaintManager::FillPropertyGrid(CDC* pDC)<BR>{<DIV>&nbsp;CXTPClientRect rc(m_pGrid);</DIV><DIV>&nbsp;HBRUSH hBrush = NULL;</DIV><DIV>&nbsp;if (m_bTransparent)<BR>&nbsp;{<BR>&nbsp;&nbsp;hBrush = (HBRUSH)m_pGrid-&gt;GetParent()-&gt;SendMessage(WM_CTLCOLORSTATIC, (WPARAM)pDC-&gt;GetSafeHdc(), (LPARAM)m_pGrid-&gt;m_hWnd);<BR>&nbsp;}<BR>&nbsp;if (hBrush)<BR>&nbsp;{<BR>&nbsp;&nbsp;::FillRect(pDC-&gt;GetSafeHdc(), rc, hBrush);<BR>&nbsp;}<BR>&nbsp;else<BR>&nbsp;{<BR>&nbsp;&nbsp;pDC-&gt;FillSolidRect(rc, m_clrFace);<BR>&nbsp;}</DIV><DIV>....</DIV><DIV>&nbsp;</DIV><DIV>}</DIV>]]>
   </description>
   <pubDate>Fri, 20 Jul 2007 07:05:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24587&amp;title=xtppropertygrid-inside-cpropertypage#24587</guid>
  </item> 
  <item>
   <title><![CDATA[XTPPropertyGrid inside CPropertyPage : doesn&amp;#039;t look like this would...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24585&amp;title=xtppropertygrid-inside-cpropertypage#24585</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 7632<br /><strong>Posted:</strong> 20 July 2007 at 6:30am<br /><br />doesn't look like this would be easy to solve.<DIV>&nbsp;</DIV><DIV>I tried it so we don't draw solid rect for backgrounds, but then the background becomes black, since we are drawing into a new memDC, so I modified also the CXTPBufferDC::CXTPBufferDC call to add</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;::BitBlt(m_hDC, 0,0, m_rect.right, m_rect.bottom, hDestDC, 0, 0, SRCCOPY);</DIV><DIV>&nbsp;</DIV><DIV>then we just draw over the top of what was behind the control.&nbsp; This looks great until you resize or change text in the help area - need to invalidate the parent window to re-draw the background.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 20 Jul 2007 06:30:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24585&amp;title=xtppropertygrid-inside-cpropertypage#24585</guid>
  </item> 
  <item>
   <title><![CDATA[XTPPropertyGrid inside CPropertyPage : OK that works for adding it thanks! Still...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24582&amp;title=xtppropertygrid-inside-cpropertypage#24582</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 7632<br /><strong>Posted:</strong> 20 July 2007 at 6:06am<br /><br /><P>OK that works for adding it thanks!</P><P>Still have a problem with background colors on skins though</P><P>possibly in CXTPPropertyGrid::OnInvertTracker()</P><DIV>it looks very odd on Le5 scheme.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>the reason it looks odd is because there are individual borders round the grid and the help area, so no delineation between the background and the splitter area, but you get a change in color.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/20070720_060351_skingridprob.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Fri, 20 Jul 2007 06:06:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24582&amp;title=xtppropertygrid-inside-cpropertypage#24582</guid>
  </item> 
  <item>
   <title><![CDATA[XTPPropertyGrid inside CPropertyPage : Hello, Yes you can - add in dialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24572&amp;title=xtppropertygrid-inside-cpropertypage#24572</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7632<br /><strong>Posted:</strong> 20 July 2007 at 2:55am<br /><br />Hello,<DIV>Yes you can - add in dialog custom control with class "XTPPropertyGrid"</DIV>]]>
   </description>
   <pubDate>Fri, 20 Jul 2007 02:55:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24572&amp;title=xtppropertygrid-inside-cpropertypage#24572</guid>
  </item> 
  <item>
   <title><![CDATA[XTPPropertyGrid inside CPropertyPage :  Embedding a XTPropertyGrid using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24553&amp;title=xtppropertygrid-inside-cpropertypage#24553</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 7632<br /><strong>Posted:</strong> 19 July 2007 at 6:42pm<br /><br /><DIV>&nbsp;</DIV><DIV>Embedding a XTPropertyGrid using Create(...) makes the following problems:</DIV><DIV>&nbsp;</DIV><DIV>1. split-bar between top part and help text at the bottom is in BTNFACE not background image of the CTabCtrl</DIV><DIV>2. background color of the bottom help part is BTNFACE</DIV><DIV>3. Since it gets added to the dialog as a window drawn over the dialog, it is not added to the tab order of the dialog control items so you cannot tab to the control.</DIV><DIV>&nbsp;</DIV><DIV>Ideally it would be good to be able to put a XTPPropertyGrid onto a dialog using DDX_Control(...) instead of using Create... is this possible?</DIV><DIV>&nbsp;</DIV><DIV>Adrien</DIV>]]>
   </description>
   <pubDate>Thu, 19 Jul 2007 18:42:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7632&amp;PID=24553&amp;title=xtppropertygrid-inside-cpropertypage#24553</guid>
  </item> 
 </channel>
</rss>