<?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 : Resizing Property Grid</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Resizing Property Grid]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 12:37:51 +0000</pubDate>
  <lastBuildDate>Fri, 02 Sep 2005 03:52:02 +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=2834</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[Resizing Property Grid : my code looks like this and works...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2834&amp;PID=8477&amp;title=resizing-property-grid#8477</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1011">Barto</a><br /><strong>Subject:</strong> 2834<br /><strong>Posted:</strong> 02 September 2005 at 3:52am<br /><br /><P>my code looks like this and works fine:</P><P><FONT face="Courier New, Courier, mono">BOOL CKeyboardDlg::OnInitDialog() <BR>{<BR>&nbsp;CXTResizeDialog::OnInitDialog();</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;CKeyboard::Backup();</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;// get the size of the place holder, this will be used when creating the grid.<BR>&nbsp;CRect rc;<BR>&nbsp;GetDlgItem(IDC_GRID)-&gt;GetWindowRect( &amp;rc );<BR>&nbsp;ScreenToClient( &amp;rc );</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;GetDlgItem(IDC_GRID)-&gt;DestroyWindow();</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;// create the property grid.<BR>&nbsp;m_wndPropertyGrid.Create(rc, this, IDC_GRID);<BR>&nbsp;m_wndPropertyGrid.SetTheme(xtpGridThemeWhidbey);<BR>&nbsp;m_wndPropertyGrid.ShowHelp(FALSE);<BR>&nbsp;m_wndPropertyGrid.SetViewDivider(.4);</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;FillGrid();</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;SetResize(IDC_GRID,&nbsp;&nbsp;&nbsp; SZ_TOP_LEFT,&nbsp; SZ_BOTTOM_RIGHT);<BR> &nbsp;SetResize(IDOK,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp; SZ_TOP_RIGHT, SZ_TOP_RIGHT);<BR>&nbsp;SetResize(IDCANCEL,&nbsp;&nbsp;&nbsp; SZ_TOP_RIGHT, SZ_TOP_RIGHT);<BR>&nbsp;SetResize(IDC_DEFAULT, SZ_TOP_RIGHT, SZ_TOP_RIGHT);</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;// Load window placement<BR>&nbsp;AutoLoadPlacement(_T("CKeyboardDlg"));<BR>&nbsp;<BR>&nbsp;return TRUE;<BR>}<BR></FONT></P><P><FONT face="Courier New, Courier, mono"></FONT>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 02 Sep 2005 03:52:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2834&amp;PID=8477&amp;title=resizing-property-grid#8477</guid>
  </item> 
  <item>
   <title><![CDATA[Resizing Property Grid : We are creating the property grid...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2834&amp;PID=8474&amp;title=resizing-property-grid#8474</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1258">MLatimer</a><br /><strong>Subject:</strong> 2834<br /><strong>Posted:</strong> 02 September 2005 at 3:14am<br /><br />We are creating the property grid in the a CXTResizeDialog as you do in the samples. Namely:<br><br>OnInitDialog:<br><br>&nbsp;&nbsp;&nbsp; SetResize(IDC_PROPERTY_GRID, SZ_TOP_LEFT, SZ_BOTTOM_RIGHT);<br><br>&nbsp;&nbsp;&nbsp; // get the size of the place holder, this will be used when creating the grid.<br>&nbsp;&nbsp;&nbsp; CRect rc;<br>&nbsp;&nbsp;&nbsp; m_wndPlaceHolder.GetWindowRect( &amp;rc );<br>&nbsp;&nbsp;&nbsp; ScreenToClient( &amp;rc );<br><br>&nbsp;&nbsp;&nbsp; // create the property grid.<br>&nbsp;&nbsp;&nbsp; if ( m_wndPropertyGrid.Create( rc, this, IDC_PROPERTY_GRID ) )<br><br>But when the dialog resizes, the property grid does not.<br><br>What actions should we take where to resize the property gid<br>]]>
   </description>
   <pubDate>Fri, 02 Sep 2005 03:14:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2834&amp;PID=8474&amp;title=resizing-property-grid#8474</guid>
  </item> 
 </channel>
</rss>