<?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[Custom MessageBox]]></title><description><![CDATA[<p>Hi,<br />
bin ma nach dem tutorial vorgegangen: <a href="http://www.catch22.net/tuts/msgbox.asp" rel="nofollow">http://www.catch22.net/tuts/msgbox.asp</a><br />
Allerdings wird dort nicht beschrieben, wie ich jetzt an den btnhandle komme ... ich habs mal so probiert:</p>
<pre><code>case HCBT_CREATEWND: {
			if(!strcmp(((CBT_CREATEWND *)lparam)-&gt;lpcs-&gt;lpszClass, &quot;Button&quot;)) {
				SetWindowText((HWND)wparam, &quot;LALA&quot;);
			}

			break;
		}
</code></pre>
<p>allerdings kratzt dann das programm ab. Und es liegt nicht am SetWindowText() sondern an der if-Abfrage.<br />
Jemand von euch schonma sowas gemacht?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/94777/custom-messagebox</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 03:40:20 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/94777.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 12 Dec 2004 20:48:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Custom MessageBox on Sun, 12 Dec 2004 20:48:55 GMT]]></title><description><![CDATA[<p>Hi,<br />
bin ma nach dem tutorial vorgegangen: <a href="http://www.catch22.net/tuts/msgbox.asp" rel="nofollow">http://www.catch22.net/tuts/msgbox.asp</a><br />
Allerdings wird dort nicht beschrieben, wie ich jetzt an den btnhandle komme ... ich habs mal so probiert:</p>
<pre><code>case HCBT_CREATEWND: {
			if(!strcmp(((CBT_CREATEWND *)lparam)-&gt;lpcs-&gt;lpszClass, &quot;Button&quot;)) {
				SetWindowText((HWND)wparam, &quot;LALA&quot;);
			}

			break;
		}
</code></pre>
<p>allerdings kratzt dann das programm ab. Und es liegt nicht am SetWindowText() sondern an der if-Abfrage.<br />
Jemand von euch schonma sowas gemacht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/671912</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/671912</guid><dc:creator><![CDATA[jghj]]></dc:creator><pubDate>Sun, 12 Dec 2004 20:48:55 GMT</pubDate></item><item><title><![CDATA[Reply to Custom MessageBox on Sun, 12 Dec 2004 21:03:30 GMT]]></title><description><![CDATA[<p>OK, hat sich erledigt, habs mit FindWindowEx() hinbekommen.<br />
Danke trotzdem</p>
]]></description><link>https://www.c-plusplus.net/forum/post/671921</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/671921</guid><dc:creator><![CDATA[jghj]]></dc:creator><pubDate>Sun, 12 Dec 2004 21:03:30 GMT</pubDate></item></channel></rss>