<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[PropertySheet in Platzhalter]]></title><description><![CDATA[<p>Hallo @all,</p>
<p>ich möchte gerne die folgende Klasse für ein PropertySheet gekoppelt mit einem TreeControl nutzen:</p>
<p><a href="http://www.codeproject.com/property/TreePropSheetEx.asp" rel="nofollow">http://www.codeproject.com/property/TreePropSheetEx.asp</a></p>
<p>Mit dem folgenden Aufruf kann ich einen neuen Dialog / ein neues Fenster erzeugen:</p>
<pre><code class="language-cpp">CPageContact pageContact;
CPagePhone pagePhone;
CPageEmail pageEmail;
CPageNote pageNote;
CPageDates pageDates;

TreePropSheet::CTreePropSheet sheet( &quot;TreePropSheet demo&quot;, this );
sheet.SetTreeViewMode( TRUE, TRUE, TRUE);
sheet.SetTreeDefaultImages( IDB_EMPTY_IMAGE_LIST, 16, RGB( 255, 255, 255 ) );

sheet.AddPage( &amp;pageContact );
sheet.AddPage( &amp;pagePhone );
sheet.AddPage( &amp;pageEmail );
sheet.AddPage( &amp;pageNote );
sheet.AddPage( &amp;pageDates );

sheet.DoModal();
</code></pre>
<p>Wie kann ich erreichen, dass kein neuer modaler Dialog erzeugt wird, sondern das Control in meinem Platzhalter (ein einfaches TextControl) dargestellt wird? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/177946/propertysheet-in-platzhalter</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 08:27:49 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/177946.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Apr 2007 15:28:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PropertySheet in Platzhalter on Thu, 05 Apr 2007 15:28:46 GMT]]></title><description><![CDATA[<p>Hallo @all,</p>
<p>ich möchte gerne die folgende Klasse für ein PropertySheet gekoppelt mit einem TreeControl nutzen:</p>
<p><a href="http://www.codeproject.com/property/TreePropSheetEx.asp" rel="nofollow">http://www.codeproject.com/property/TreePropSheetEx.asp</a></p>
<p>Mit dem folgenden Aufruf kann ich einen neuen Dialog / ein neues Fenster erzeugen:</p>
<pre><code class="language-cpp">CPageContact pageContact;
CPagePhone pagePhone;
CPageEmail pageEmail;
CPageNote pageNote;
CPageDates pageDates;

TreePropSheet::CTreePropSheet sheet( &quot;TreePropSheet demo&quot;, this );
sheet.SetTreeViewMode( TRUE, TRUE, TRUE);
sheet.SetTreeDefaultImages( IDB_EMPTY_IMAGE_LIST, 16, RGB( 255, 255, 255 ) );

sheet.AddPage( &amp;pageContact );
sheet.AddPage( &amp;pagePhone );
sheet.AddPage( &amp;pageEmail );
sheet.AddPage( &amp;pageNote );
sheet.AddPage( &amp;pageDates );

sheet.DoModal();
</code></pre>
<p>Wie kann ich erreichen, dass kein neuer modaler Dialog erzeugt wird, sondern das Control in meinem Platzhalter (ein einfaches TextControl) dargestellt wird? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1260219</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1260219</guid><dc:creator><![CDATA[Dressman1981]]></dc:creator><pubDate>Thu, 05 Apr 2007 15:28:46 GMT</pubDate></item><item><title><![CDATA[Reply to PropertySheet in Platzhalter on Wed, 11 Apr 2007 09:21:50 GMT]]></title><description><![CDATA[<p>Im wesentlichen musst Du folgende Schritte durchführen:<br />
Das Propertysheet im OnInitDialog Deines Dialoges mit Create() erzeugen. Mit GetWindowRect() das Rechteck bestimmen, das Dein Control einnimmt und das Propertysheet anschliessend per MoveWindow() und SetWindowPos() dort einpassen.<br />
Beschrieben ist das ganze z.B. in &quot;The MFC Answer Book&quot; aus dem Addison-Wesley Verlag.</p>
<p>Nachtrag: villeicht hilft Dir auch <a href="http://www.codeguru.com/cpp/controls/propertysheet/article.php/c567/" rel="nofollow">dieser Artikel</a> weiter:</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1262668</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1262668</guid><dc:creator><![CDATA[jencas]]></dc:creator><pubDate>Wed, 11 Apr 2007 09:21:50 GMT</pubDate></item></channel></rss>