<?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 : CDialog as property-grid item</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : CDialog as property-grid item]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 13:01:59 +0000</pubDate>
  <lastBuildDate>Tue, 22 Nov 2005 02:44:43 +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=3062</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[CDialog as property-grid item : Hello,  finally I have implemented...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3062&amp;PID=9718&amp;title=cdialog-as-propertygrid-item#9718</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1169">farr02</a><br /><strong>Subject:</strong> 3062<br /><strong>Posted:</strong> 22 November 2005 at 2:44am<br /><br />Hello,<br><br>finally I have implemented a class, that embeds a CDialog into aproperty-grid item. One can see the result in the GridSample-baseddemo-project:<a href="uploads/farr02/2005-11-22_023757_GridSampleForum.zip" target="_blank"> 2005-11-22_023757_GridSampleForum.zip</a><br><br>The new item is a CXTPPropertyGridItem-derived class, which holds a pointerto CDialog as a member. In the constructor the CDialog will be created,whereas OnDrawItemValue only shows or hides the dialog via ShowWindow.It also uses a pointer to the grid for resizing the grid automatically,if the dialog to be embed is wider than the grid. Caution: the MFClimits the height of a CListBox-item to 255 pixel (CXTPPropertyGrid isa CListBox derived class). Dialogs that are higher will be cropped.Last but not least one has keyboard navigation. (To leave the inplacedialog press ESC.)<br><br>I only have a problem with correct drawing of the dialog. Maybe someonecan take a look at the code and give me a hint why the drawing isincorrect. (There is a problem with the scrollbars, too but Oleg toldme that this must be a CListBox-bug and he will try to find aworkaround. Maybe in 9.81 everything works fine.)<br><br>Best regards<br>&nbsp;&nbsp; Holger<br><a href="uploads/farr02/2005-11-22_023757_GridSampleForum.zip" target="_blank"><br></a>]]>
   </description>
   <pubDate>Tue, 22 Nov 2005 02:44:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3062&amp;PID=9718&amp;title=cdialog-as-propertygrid-item#9718</guid>
  </item> 
  <item>
   <title><![CDATA[CDialog as property-grid item : Hello, I am developing a property-grid...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3062&amp;PID=9131&amp;title=cdialog-as-propertygrid-item#9131</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1169">farr02</a><br /><strong>Subject:</strong> 3062<br /><strong>Posted:</strong> 19 October 2005 at 10:33am<br /><br />Hello,<br>I am developing a property-grid item that holds a CDialog. (I know thisis a little bit perverse but my boss wants it;-) At the moment I havesome problems with correct drawing of the CDialog, especially whenexpanding/collapsing other categories of the grid the inplace dialogwill not be drawn correctly.<br>I have overridden the OnDrawItemValue member of my inplace-dialog classin nearly the same manner as shown for the button-property in theGridSample but the function will not get called, when the whole itemgets invisible due to expanding an other category. So my inplace dialogstays visible:-( Anyone can give me a hint on how to handle thisproblem?<br><br>Best regards,<br>&nbsp;&nbsp; Holger<br><br>]]>
   </description>
   <pubDate>Wed, 19 Oct 2005 10:33:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3062&amp;PID=9131&amp;title=cdialog-as-propertygrid-item#9131</guid>
  </item> 
 </channel>
</rss>