<?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[Kleines Problem mit Xp Styles]]></title><description><![CDATA[<p>Erstmal eine Frage, wie kann ich das Projekt hochladen, um das es geht(ist 17K groß)</p>
<p>Folgendes Problem: Ich habe einen Dialog erstellt, bei den die Controls im Xp style erscheinen sollen.</p>
<p>Ich hab ne Manifestdatei angelegt, InitCommuncontrols(); ...</p>
<p>Warum es nicht klappt, kann ich mir nicht erklären.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/126852/kleines-problem-mit-xp-styles</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Jul 2026 02:21:41 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/126852.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 19 Nov 2005 11:07:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Kleines Problem mit Xp Styles on Sat, 19 Nov 2005 12:51:47 GMT]]></title><description><![CDATA[<p>Erstmal eine Frage, wie kann ich das Projekt hochladen, um das es geht(ist 17K groß)</p>
<p>Folgendes Problem: Ich habe einen Dialog erstellt, bei den die Controls im Xp style erscheinen sollen.</p>
<p>Ich hab ne Manifestdatei angelegt, InitCommuncontrols(); ...</p>
<p>Warum es nicht klappt, kann ich mir nicht erklären.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/921232</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/921232</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Sat, 19 Nov 2005 12:51:47 GMT</pubDate></item><item><title><![CDATA[Reply to Kleines Problem mit Xp Styles on Sat, 19 Nov 2005 12:17:51 GMT]]></title><description><![CDATA[<p>Hier mal die Dateien:</p>
<p>WinMain.cpp</p>
<pre><code class="language-cpp">//////////////////////////////////////////////////////////////////////////
#include &lt;windows.h&gt;
#include &lt;commctrl.h&gt;

#pragma comment(lib, &quot;comctl32.lib&quot;)

#include &quot;resource.h&quot;

//////////////////////////////////////////////////////////////////////////
BOOL CALLBACK DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);

//////////////////////////////////////////////////////////////////////////
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
	HWND hDlg;
	MSG msg;

	InitCommonControls();

	hDlg = CreateDialog(hInstance, MAKEINTRESOURCE(IDD_DIALOG1), NULL, DlgProc);

	while(GetMessage(&amp;msg, 0, NULL, NULL))
	{
		TranslateMessage(&amp;msg);
		DispatchMessage(&amp;msg);
	}
}

BOOL CALLBACK DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
	switch(uMsg)
	{
	case WM_INITDIALOG:
		return TRUE;
	case WM_COMMAND:
		if(wParam == IDCANCEL)
		{
			EndDialog(hDlg, 0);
			PostQuitMessage(0);
		}
		return TRUE;
	case WM_CLOSE:
		EndDialog(hDlg, 0);
		PostQuitMessage(0);
		return(TRUE);
	default:
		return FALSE;
	}
}
</code></pre>
<p>Merkwürdig, im Ressourcenedition ist das Verzeichnis der Manifest in &quot;&quot; gesetzt. (&quot;RT_MANIFEST&quot;)<br />
Die Manifestdatei hat die Bezeichnung 1, wie es verlangt ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/921314</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/921314</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Sat, 19 Nov 2005 12:17:51 GMT</pubDate></item></channel></rss>