<?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[Titel von ProperyPages beschriften]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich komme nicht weiter bei meinem Problemm. Ich habe ein PropertySheet mit mehreren PropertyPages. Nun möchte ich aus sprachlichen Gründen den Titel (Caption) abändern. Den bisherigen Titel kann ich problemlos mit</p>
<pre><code class="language-cpp">GetWindowText(cs)
</code></pre>
<p>auslesen, aber wenn ich danach den neuen String mit</p>
<pre><code class="language-cpp">SetWindowText(cs)
</code></pre>
<p>schreiben möchte, bleibt alles beim alten. Auch wenn ich RedrawWindow anwende, ändert sich nichts.</p>
<p>Was kann ich tun, um den Titel zu ändern?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/73509/titel-von-properypages-beschriften</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 17:10:42 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/73509.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 May 2004 08:01:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Titel von ProperyPages beschriften on Tue, 11 May 2004 08:02:18 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich komme nicht weiter bei meinem Problemm. Ich habe ein PropertySheet mit mehreren PropertyPages. Nun möchte ich aus sprachlichen Gründen den Titel (Caption) abändern. Den bisherigen Titel kann ich problemlos mit</p>
<pre><code class="language-cpp">GetWindowText(cs)
</code></pre>
<p>auslesen, aber wenn ich danach den neuen String mit</p>
<pre><code class="language-cpp">SetWindowText(cs)
</code></pre>
<p>schreiben möchte, bleibt alles beim alten. Auch wenn ich RedrawWindow anwende, ändert sich nichts.</p>
<p>Was kann ich tun, um den Titel zu ändern?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/518026</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/518026</guid><dc:creator><![CDATA[Plotter]]></dc:creator><pubDate>Tue, 11 May 2004 08:02:18 GMT</pubDate></item><item><title><![CDATA[Reply to Titel von ProperyPages beschriften on Tue, 11 May 2004 09:20:22 GMT]]></title><description><![CDATA[<p>Nach einer Weile Suchen habe ich nun doch eine Lösung gefunden. Vielleicht kann sie ja auch mal jemand gebrauchen:</p>
<p>Setting the window title of a CPropertyPage<br />
Problem: You want to set the window title (caption) of a property page (or wizard page) using SetWindowText but it doesn't work. You can specify the title of a CPropertyPage in its dialog resource, but you can't modify it at run-time using the usual SetWindowText.</p>
<p>Solution: Instead, use the property page's PROPSHEETPAGE object (via GetPSP()) to set the title. The page's constructor is a good place to do this. For example:</p>
<pre><code class="language-cpp">CInfoDlg::CInfoDlg() : CProperyPage(CInfoDlg::IDD)
{
    static char szTitle[96];
    _snprintf(szTitle, 96, &quot;Welcome %s&quot;, (LPCSTR)m_strUserName);
    this-&gt;GetPSP().dwFlags |= PSP_USETITLE;
    this-&gt;GetPSP().pszTitle = szTitle;
}
</code></pre>
<p>See Microsoft Knowledge Base Article Q141487 for more information.</p>
<p>Keywords: CPropertyPage, SetWindowText, PROPSHEETPAGE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/518102</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/518102</guid><dc:creator><![CDATA[Plotter]]></dc:creator><pubDate>Tue, 11 May 2004 09:20:22 GMT</pubDate></item><item><title><![CDATA[Reply to Titel von ProperyPages beschriften on Wed, 12 May 2004 09:28:36 GMT]]></title><description><![CDATA[<p>Das war meine Rettung!!! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /><br />
Ich dachte schon ich schaff das nie.</p>
<p>Thx! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Greez</p>
]]></description><link>https://www.c-plusplus.net/forum/post/518762</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/518762</guid><dc:creator><![CDATA[muhkuh_dd]]></dc:creator><pubDate>Wed, 12 May 2004 09:28:36 GMT</pubDate></item><item><title><![CDATA[Reply to Titel von ProperyPages beschriften on Wed, 18 Aug 2004 12:26:48 GMT]]></title><description><![CDATA[<p>Leider gibt es GetPSP() in VC++ 6.0 noch nicht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /><br />
Gibt es eine andere Mgl., den Titel der Property Page zu ändern?</p>
<p>Edit bion statt über GetPSP jetzt über die Variable m_psp gegangen.</p>
<p>this-&gt;m_psp.dwFlags |= PSP_USETITLE;<br />
this-&gt;m_psp.pszTitle = (LPCSTR)&quot;test&quot;;</p>
<p>Das ganze wird in der OnSetActive() aufgerufen, aber am dargestellten Titel tut sich nix. Muss ich mit irgend einer Funktion neuzeichnen lassen oder ähnliches?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/585332</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/585332</guid><dc:creator><![CDATA[Tie]]></dc:creator><pubDate>Wed, 18 Aug 2004 12:26:48 GMT</pubDate></item><item><title><![CDATA[Reply to Titel von ProperyPages beschriften on Wed, 18 Aug 2004 20:28:26 GMT]]></title><description><![CDATA[<p>bei mir tuts indem ich den titel direkt im konstruktor meines property sheets setzte:</p>
<pre><code class="language-cpp">m_pageWelcome.m_psp.dwFlags |= PSP_DEFAULT | PSP_USETITLE;
m_pageWelcome.m_psp.pszTitle = MAKEINTRESOURCE(nIDCaption);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/585848</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/585848</guid><dc:creator><![CDATA[dude77]]></dc:creator><pubDate>Wed, 18 Aug 2004 20:28:26 GMT</pubDate></item><item><title><![CDATA[Reply to Titel von ProperyPages beschriften on Thu, 19 Aug 2004 08:54:03 GMT]]></title><description><![CDATA[<p>Danke, das klappt jetzt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/586062</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/586062</guid><dc:creator><![CDATA[Tie]]></dc:creator><pubDate>Thu, 19 Aug 2004 08:54:03 GMT</pubDate></item></channel></rss>