<?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[copy &amp;amp; paste]]></title><description><![CDATA[<p>hi,</p>
<p>ich soll bei hotkeyauslösung (der funzt jetzt schon) den markierten text kopieren und in einem meiner dialoge einfügen. die markierung darf überall sein (word, texteditor, in irgendeinem programm). wie mache ich das?</p>
<p>ich glaub mit sendmessage und wm_copy und so, weiß aber nicht weiter</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/80445/copy-amp-paste</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 04:34:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/80445.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Jul 2004 09:41:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to copy &amp;amp; paste on Wed, 21 Jul 2004 09:41:39 GMT]]></title><description><![CDATA[<p>hi,</p>
<p>ich soll bei hotkeyauslösung (der funzt jetzt schon) den markierten text kopieren und in einem meiner dialoge einfügen. die markierung darf überall sein (word, texteditor, in irgendeinem programm). wie mache ich das?</p>
<p>ich glaub mit sendmessage und wm_copy und so, weiß aber nicht weiter</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565024</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565024</guid><dc:creator><![CDATA[- enForcer -]]></dc:creator><pubDate>Wed, 21 Jul 2004 09:41:39 GMT</pubDate></item><item><title><![CDATA[Reply to copy &amp;amp; paste on Wed, 21 Jul 2004 11:46:05 GMT]]></title><description><![CDATA[<p>sendmessage sendet nur zu einem zeitpunkt eine message (z.B. OnLButtonClick). wird dennn nicht die Copy information im Zwischenspeicher festgehalten? Frag einfach diesen ab! :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565147</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565147</guid><dc:creator><![CDATA[detlef]]></dc:creator><pubDate>Wed, 21 Jul 2004 11:46:05 GMT</pubDate></item><item><title><![CDATA[Reply to copy &amp;amp; paste on Wed, 21 Jul 2004 11:58:29 GMT]]></title><description><![CDATA[<p>hmmm<br />
ich sende jetzt schon die message, aber er kopiert nix</p>
<pre><code>::SendMessage(HWND_BROADCAST, WM_COPY, 0, 0);
</code></pre>
<p>stimmt das mit dem broadcast. ich will, dass das, was im aktuellem window markiert ist in die zwischenablage kopiert wird</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565161</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565161</guid><dc:creator><![CDATA[- enForcer -]]></dc:creator><pubDate>Wed, 21 Jul 2004 11:58:29 GMT</pubDate></item><item><title><![CDATA[Reply to copy &amp;amp; paste on Wed, 21 Jul 2004 12:23:23 GMT]]></title><description><![CDATA[<p>Servus,</p>
<p>ich glaube du suchst das hier:</p>
<p>FAQ:<br />
<a href="http://www.c-plusplus.net/forum/topic,39029.html" rel="nofollow">http://www.c-plusplus.net/forum/topic,39029.html</a></p>
<p>*winke*<br />
Hellsgore</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565173</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565173</guid><dc:creator><![CDATA[Hellsgore]]></dc:creator><pubDate>Wed, 21 Jul 2004 12:23:23 GMT</pubDate></item><item><title><![CDATA[Reply to copy &amp;amp; paste on Wed, 21 Jul 2004 12:36:18 GMT]]></title><description><![CDATA[<p>danke, dass du so nen alten beitrag für mich rauskramst. geholfen hats leider nix. ich will einen text, den ich nicht habe, der nur im aktuellem window (kann auch word sein) markiert ist in die zwischenablage kopieren. so als würde ich strg+c drücken.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565178</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565178</guid><dc:creator><![CDATA[- enForcer -]]></dc:creator><pubDate>Wed, 21 Jul 2004 12:36:18 GMT</pubDate></item><item><title><![CDATA[Reply to copy &amp;amp; paste on Thu, 22 Jul 2004 06:47:27 GMT]]></title><description><![CDATA[<p>ok nochmal ne problembeschreibung:</p>
<p>ich sende das:</p>
<pre><code>::SendMessage(HWND_BROADCAST, WM_COPY, 0, 0);
</code></pre>
<p>aber er kopiert nix. er sollte im aktiven window (was auch immer es ist) den von mir markierten teil in die zwischenablage kopieren.</p>
<p>wenn ich das wm_copy durch ein wm_close ersetze schließt er alle anderen fenster. das würde also funzen. woran liegts???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565595</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565595</guid><dc:creator><![CDATA[- enForcer -]]></dc:creator><pubDate>Thu, 22 Jul 2004 06:47:27 GMT</pubDate></item><item><title><![CDATA[Reply to copy &amp;amp; paste on Thu, 22 Jul 2004 06:54:48 GMT]]></title><description><![CDATA[<p>Ich hab mal in die MSDN geguckt:<br />
[msdn]An application sends the WM_COPY message to an <strong>edit control or combo box</strong> to copy the current selection to the clipboard in CF_TEXT format. [/msdn]</p>
<p>Du willst aber, dass eine <strong>Anwendung</strong> auf dich reagiert. Kannst du nicht die passende Tastaturnachricht schicken? Also Strg+C? Oder hast du das schon versucht und ich es überlesen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565601</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565601</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Thu, 22 Jul 2004 06:54:48 GMT</pubDate></item><item><title><![CDATA[Reply to copy &amp;amp; paste on Thu, 22 Jul 2004 07:17:52 GMT]]></title><description><![CDATA[<p>stimmt, aber wie mach ich das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565620</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565620</guid><dc:creator><![CDATA[- enf...]]></dc:creator><pubDate>Thu, 22 Jul 2004 07:17:52 GMT</pubDate></item><item><title><![CDATA[Reply to copy &amp;amp; paste on Thu, 22 Jul 2004 07:31:16 GMT]]></title><description><![CDATA[<p>weiß vielleicht auch einer, wie ich das handle auf das aktive window bekomme.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565632</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565632</guid><dc:creator><![CDATA[- enf...]]></dc:creator><pubDate>Thu, 22 Jul 2004 07:31:16 GMT</pubDate></item><item><title><![CDATA[Reply to copy &amp;amp; paste on Thu, 22 Jul 2004 07:39:41 GMT]]></title><description><![CDATA[<p>Zu der Sache mit der Nachricht: Guck dir mal WM_KEYDOWN an. Du musst festlegen, dass die Strg Taste gedrückt ist (im Flagparameter) und als Taste eben C.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565638</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565638</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Thu, 22 Jul 2004 07:39:41 GMT</pubDate></item><item><title><![CDATA[Reply to copy &amp;amp; paste on Thu, 22 Jul 2004 09:06:18 GMT]]></title><description><![CDATA[<p>so wie ich das sehe hab ich zwei möglichkeiten:</p>
<p>ein strg+c an das window zu senden. (das active window krieg ich raus, aber wenn ich</p>
<pre><code>::SendMessage(activeHwnd, WM_KEYDOWN, VK_RIGHT , 0);
</code></pre>
<p>sende tut sich gar nix. schade eigentlich.</p>
<p>oder ich kann das active object ermitteln und an das ein WM_COPY senden. nur: wie krieg ich das active object raus? die ::GetActiveObject() - methode check ich voll net.</p>
<p>funzt beides net, wahrscheinlich bin ich zu doof :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565710</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565710</guid><dc:creator><![CDATA[- enf...]]></dc:creator><pubDate>Thu, 22 Jul 2004 09:06:18 GMT</pubDate></item><item><title><![CDATA[Reply to copy &amp;amp; paste on Thu, 22 Jul 2004 09:31:31 GMT]]></title><description><![CDATA[<p>estartu_de schrieb:</p>
<blockquote>
<p>Du willst aber, dass eine <strong>Anwendung</strong> auf dich reagiert. Kannst du nicht die passende Tastaturnachricht schicken? Also Strg+C? Oder hast du das schon versucht und ich es überlesen?</p>
</blockquote>
<p>neue erkenntnis: tastaturnachrichten werden auch an objekte gesendet. das window reagiert nicht darauf...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565748</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565748</guid><dc:creator><![CDATA[- enf...]]></dc:creator><pubDate>Thu, 22 Jul 2004 09:31:31 GMT</pubDate></item></channel></rss>