<?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 : &#069;mbedding Dialogs</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : &#069;mbedding Dialogs]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 05:23:04 +0000</pubDate>
  <lastBuildDate>Mon, 14 Mar 2005 21:32:48 +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=94</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[&#069;mbedding Dialogs : How do I handle messages sent/received...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=94&amp;PID=5731&amp;title=embedding-dialogs#5731</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=634">Indrajit</a><br /><strong>Subject:</strong> 94<br /><strong>Posted:</strong> 14 March 2005 at 9:32pm<br /><br /><P>How do I handle messages sent/received from/to child controls (such as Picture, edit, etc) placed in a dialog which is embedded in a docking pane? Please help.</P><P>An example of what I am looking at is dynamically resizing a static rectangle using GetWindowRect(...), then, recalulating the rect, and resizing it using SetWindowPos(...).</P><P>Your valuable time is much appreciated.</P><P>Thanks<BR>Indrajit</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 14 Mar 2005 21:32:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=94&amp;PID=5731&amp;title=embedding-dialogs#5731</guid>
  </item> 
  <item>
   <title><![CDATA[&#069;mbedding Dialogs : the better to use CFormView instead...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=94&amp;PID=194&amp;title=embedding-dialogs#194</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 94<br /><strong>Posted:</strong> 09 July 2003 at 12:37pm<br /><br /><P>the better to use CFormView instead CDialog....</P><P>&nbsp;</P><P>but if it works.... the better not to change anything <IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></P>]]>
   </description>
   <pubDate>Wed, 09 Jul 2003 12:37:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=94&amp;PID=194&amp;title=embedding-dialogs#194</guid>
  </item> 
  <item>
   <title><![CDATA[&#069;mbedding Dialogs : How do I embedd a dialog into...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=94&amp;PID=189&amp;title=embedding-dialogs#189</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=104">c_koerber</a><br /><strong>Subject:</strong> 94<br /><strong>Posted:</strong> 09 July 2003 at 2:22am<br /><br /><P>How do I embedd a dialog into a docking pane.</P><P>I tried to use a method that worked with CMDIChildFrame well, but I cannot even create the CDalog derived class ( Create() fails ) with a docking pane as parent.</P><P>Here is what I do in <FONT face="Courier New, Courier, mono" size=2>OnDockingPaneNotify:</FONT></P><FONT size=2><FONT size=2><P><FONT face="Courier New, Courier, mono">CMiniFrameWnd* pParent = </FONT></FONT><FONT face="Courier New, Courier, mono" color=#0000ff size=2>reinterpret_cast</FONT><FONT size=2><FONT face="Courier New, Courier, mono">&lt;CMiniFrameWnd*&gt;(pPane);</FONT></P><P><FONT face="Courier New, Courier, mono">pMD = </FONT></FONT><FONT face="Courier New, Courier, mono"><FONT color=#0000ff size=2>new</FONT><FONT size=2> MyDialog( pParent );</FONT></FONT></P><P><FONT face="Courier New, Courier, mono"><FONT size=2><FONT face="Times New Roman, Times, serif">Create fails In the constructor of MyDialog.</FONT></FONT></FONT></P><P><FONT face="Courier New, Courier, mono"><FONT size=2><FONT face="Times New Roman, Times, serif">______________________________________________________________</FONT></FONT></FONT></P><P><FONT face="Times New Roman">Aha, it works, if I use the Mainframe as parent.</FONT></P><P><FONT face="Times New Roman">&nbsp;</FONT><FONT face="Courier New">pMD = <FONT color=#0000ff size=2>new</FONT><FONT size=2> MyDialog(&nbsp;this );</FONT></FONT></P><P><FONT face="Times New Roman, Times, serif">This arises a new problem, the dialog buttons vanish once clicked and don't reappear until the pane is resized.</FONT></P><P><FONT face="Times New Roman">_______________________________________________________________</FONT></P><P><FONT face="Times New Roman">Problem solved:</FONT></P><P><FONT face="Times New Roman">Remove the cancel and ok buttons. These have some default functinality which cause this behaviour.</FONT></P><P><FONT face="Times New Roman">Another note: Handle the event messages in the dialog, they don't reach the main frame.</FONT></P><P><FONT face="Times New Roman">________________________________________________________________</FONT></P><P><FONT face="Times New Roman">A final remark, I spent two days on the initial problem, so it's not like I wasn't thinking for myself <IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0"></FONT></P><P><FONT face="Courier New, Courier, mono"><FONT size=2>&nbsp;</P></FONT></FONT></FONT><span style="font-size:10px"><br /><br />Edited by c_koerber</span>]]>
   </description>
   <pubDate>Wed, 09 Jul 2003 02:22:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=94&amp;PID=189&amp;title=embedding-dialogs#189</guid>
  </item> 
 </channel>
</rss>