<?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[this einer WINPROC übergeben]]></title><description><![CDATA[<p>Hi! Folgendes Problem:</p>
<p>Ich habe eine WINPROC in einer Klasse... &quot;static&quot; sonst meckert der comiler... so</p>
<pre><code class="language-cpp">PrevWndProcEdit = (WNDPROC)SetWindowLongPtr(bt_hwnd, GWLP_WNDPROC, (LONG_PTR) DragWndProc);
</code></pre>
<p>&quot;PrevWndProcEdit&quot; soll immer in jeder Instanz neuangelegt werden also kein &quot;static&quot;<br />
&quot;DragWndProc&quot; ist static... nun will ich aber &quot;PrevWndProcEdit&quot; in &quot;DragWndProc&quot; benutzen! Wie kann ich der &quot;DragWndProc&quot; einen Zeiger auf &quot;PrevWndProcEdit&quot; mitteilen ?!<br />
Ich hoffe ihr versteht mein problem!!<br />
GRuß Chris</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/196706/this-einer-winproc-übergeben</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 06:45:15 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/196706.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Nov 2007 00:44:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to this einer WINPROC übergeben on Fri, 02 Nov 2007 00:44:02 GMT]]></title><description><![CDATA[<p>Hi! Folgendes Problem:</p>
<p>Ich habe eine WINPROC in einer Klasse... &quot;static&quot; sonst meckert der comiler... so</p>
<pre><code class="language-cpp">PrevWndProcEdit = (WNDPROC)SetWindowLongPtr(bt_hwnd, GWLP_WNDPROC, (LONG_PTR) DragWndProc);
</code></pre>
<p>&quot;PrevWndProcEdit&quot; soll immer in jeder Instanz neuangelegt werden also kein &quot;static&quot;<br />
&quot;DragWndProc&quot; ist static... nun will ich aber &quot;PrevWndProcEdit&quot; in &quot;DragWndProc&quot; benutzen! Wie kann ich der &quot;DragWndProc&quot; einen Zeiger auf &quot;PrevWndProcEdit&quot; mitteilen ?!<br />
Ich hoffe ihr versteht mein problem!!<br />
GRuß Chris</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1396172</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1396172</guid><dc:creator><![CDATA[Foxx90]]></dc:creator><pubDate>Fri, 02 Nov 2007 00:44:02 GMT</pubDate></item><item><title><![CDATA[Reply to this einer WINPROC übergeben on Fri, 02 Nov 2007 06:00:12 GMT]]></title><description><![CDATA[<p>Aus diesem Grunde gibt es DWLP_USER</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1396186</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1396186</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Fri, 02 Nov 2007 06:00:12 GMT</pubDate></item><item><title><![CDATA[Reply to this einer WINPROC übergeben on Fri, 02 Nov 2007 07:59:55 GMT]]></title><description><![CDATA[<p>Für einen this Zeiger tut es auch GWL_USERDATA. In der Klasse bringst Du dann alles unter was Du Dir merken musst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1396215</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1396215</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 02 Nov 2007 07:59:55 GMT</pubDate></item><item><title><![CDATA[Reply to this einer WINPROC übergeben on Fri, 02 Nov 2007 10:48:33 GMT]]></title><description><![CDATA[<p>Alles klar danke habs jetzt verstanden ... is was neu für mich so umständlich mit klassen zu arbeiten^^ Gruß Chris</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1396311</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1396311</guid><dc:creator><![CDATA[Foxx90]]></dc:creator><pubDate>Fri, 02 Nov 2007 10:48:33 GMT</pubDate></item></channel></rss>