<?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[&amp;quot;von aussen&amp;quot; in Editfeld schreiben]]></title><description><![CDATA[<p>Moin,</p>
<p>Ich wüsste gerne, wie ich mit meinem Programm auf das Editfeld eines anderen Progs zugreifen/reinschreiben kann, wie das z.B. bei einem Chatflooder der Fall ist.<br />
Besonders interessant wäre es, wenn man das aktuelle/angewählte Steuerelement ermitteln könnte, in das man z.B. zuvor mit der Maus klickt.</p>
<p>Kann mir jemand helfen, ich habe keine Ahnung, von wo ich an die Sache rangehen soll <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>
<p>MfG das_brot</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/83294/quot-von-aussen-quot-in-editfeld-schreiben</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 18:44:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/83294.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Aug 2004 11:18:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to &amp;quot;von aussen&amp;quot; in Editfeld schreiben on Thu, 19 Aug 2004 11:18:03 GMT]]></title><description><![CDATA[<p>Moin,</p>
<p>Ich wüsste gerne, wie ich mit meinem Programm auf das Editfeld eines anderen Progs zugreifen/reinschreiben kann, wie das z.B. bei einem Chatflooder der Fall ist.<br />
Besonders interessant wäre es, wenn man das aktuelle/angewählte Steuerelement ermitteln könnte, in das man z.B. zuvor mit der Maus klickt.</p>
<p>Kann mir jemand helfen, ich habe keine Ahnung, von wo ich an die Sache rangehen soll <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>
<p>MfG das_brot</p>
]]></description><link>https://www.c-plusplus.net/forum/post/586207</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/586207</guid><dc:creator><![CDATA[das_brot]]></dc:creator><pubDate>Thu, 19 Aug 2004 11:18:03 GMT</pubDate></item><item><title><![CDATA[Reply to &amp;quot;von aussen&amp;quot; in Editfeld schreiben on Thu, 19 Aug 2004 11:34:07 GMT]]></title><description><![CDATA[<p>CWnd::Attach/Detach &lt;- Details siehe MSDN<br />
SetWindowText &lt;- Siehe MSDN</p>
<p>GetWindowFromPoint &lt;- siehe google/msdn</p>
]]></description><link>https://www.c-plusplus.net/forum/post/586227</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/586227</guid><dc:creator><![CDATA[nonamebody]]></dc:creator><pubDate>Thu, 19 Aug 2004 11:34:07 GMT</pubDate></item><item><title><![CDATA[Reply to &amp;quot;von aussen&amp;quot; in Editfeld schreiben on Thu, 19 Aug 2004 11:56:07 GMT]]></title><description><![CDATA[<p>Oder besser:</p>
<p>schaust du hier: <a href="http://www.c-plusplus.net/forum/viewtopic.php?t=68318&amp;highlight=spy" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic.php?t=68318&amp;highlight=spy</a></p>
<p>ich wusste dass da schonmal jemand das gleiche prob hatte.... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>viel Erfolg!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/586253</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/586253</guid><dc:creator><![CDATA[Bummsfallera]]></dc:creator><pubDate>Thu, 19 Aug 2004 11:56:07 GMT</pubDate></item><item><title><![CDATA[Reply to &amp;quot;von aussen&amp;quot; in Editfeld schreiben on Thu, 19 Aug 2004 15:06:31 GMT]]></title><description><![CDATA[<p>Danke für die prompte Hilfe!</p>
<p>MfG das_brot</p>
]]></description><link>https://www.c-plusplus.net/forum/post/586487</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/586487</guid><dc:creator><![CDATA[das_brot]]></dc:creator><pubDate>Thu, 19 Aug 2004 15:06:31 GMT</pubDate></item><item><title><![CDATA[Reply to &amp;quot;von aussen&amp;quot; in Editfeld schreiben on Sat, 21 Aug 2004 16:19:37 GMT]]></title><description><![CDATA[<p>So, hab' noch ein Problem:<br />
ich verändere nun per</p>
<pre><code class="language-cpp">void CExtControlsDlg::OnTimer(UINT nIDEvent) 
{
	CDialog::OnTimer(nIDEvent);
	CPoint p;
	GetCursorPos(&amp;p);
	CWnd *wnd = WindowFromPoint(p);
	wnd-&gt;SetWindowText(&quot;blabla&quot;);
	//	wnd-&gt;OnPaint(); -&gt; error C2248: 'OnPaint' : cannot access protected member declared in class 'CWnd'
	KillTimer(TIMER);
}
</code></pre>
<p>den Text zB von einem Edit oder Button.<br />
Aber der neue Text erscheint erst, wenn sich das Window neu zeichnet. Gibt es noch einen anderen weg als über OnPaint, das Window neu zeichnen zu lassen?`</p>
<p>MfG das_brot</p>
<p>ach ja: kann ich auch irgenwie rausfinden, was ich nun für ein Window angewählt habe, ob es zB ein Editfield oder ein Button ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/587835</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/587835</guid><dc:creator><![CDATA[das_brot]]></dc:creator><pubDate>Sat, 21 Aug 2004 16:19:37 GMT</pubDate></item><item><title><![CDATA[Reply to &amp;quot;von aussen&amp;quot; in Editfeld schreiben on Sat, 21 Aug 2004 16:54:15 GMT]]></title><description><![CDATA[<p>Versuch es mal mit : Invalidate(); oder RedrawWindow();</p>
<p>Gruß<br />
:: NoName ::</p>
]]></description><link>https://www.c-plusplus.net/forum/post/587876</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/587876</guid><dc:creator><![CDATA[__NoName__]]></dc:creator><pubDate>Sat, 21 Aug 2004 16:54:15 GMT</pubDate></item><item><title><![CDATA[Reply to &amp;quot;von aussen&amp;quot; in Editfeld schreiben on Sat, 21 Aug 2004 20:41:38 GMT]]></title><description><![CDATA[<p>Danke,<br />
ich löste es nun mit RedrawWindow</p>
<p>MfG das_brot</p>
]]></description><link>https://www.c-plusplus.net/forum/post/587998</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/587998</guid><dc:creator><![CDATA[das_brot]]></dc:creator><pubDate>Sat, 21 Aug 2004 20:41:38 GMT</pubDate></item></channel></rss>