<?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[Rechner(Calculator) von Windows &amp;quot;fernsteuern&amp;quot;]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich möchte gerne den Rechner(Calculator) von Windows &quot;fernsteuern&quot;.</p>
<p>Starten geht:<br />
ShellExecute (0, &quot;open&quot;, &quot;C:\\WINDOWS\\System32\\calc.exe&quot;, &quot;&quot;, NULL, SW_SHOW);</p>
<p>Position setzen geht auch<br />
HWND hWin = FindWindow(NULL, &quot;Rechner&quot;);<br />
SetWindowPos(hWin,HWND_NOTOPMOST,0,0,300,300,SWP_FRAMECHANGED);</p>
<p>Nun möchte ich auf den Button1 ein click senden</p>
<p>HWND ParentWnd;<br />
ParentWnd = FindWindow(NULL, &quot;Rechner&quot;);<br />
SetForegroundWindow(ParentWnd);<br />
int hwnd=0;<br />
HWND hwndChild;</p>
<p>if(ParentWnd == 0)<br />
{<br />
}<br />
else<br />
{<br />
hwndChild = FindWindowEx(ParentWnd,0,&quot;Button&quot;,&quot;1&quot;);<br />
::SendMessage(hwndChild,BN_CLICKED, VK_RETURN, 0);//ich weiß hier fehtl was<br />
}</p>
<p>geht aber nicht!</p>
<p>Weiß jemand den code.</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/171425/rechner-calculator-von-windows-quot-fernsteuern-quot</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 04:48:24 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/171425.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Jan 2007 11:23:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Rechner(Calculator) von Windows &amp;quot;fernsteuern&amp;quot; on Thu, 25 Jan 2007 11:23:08 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich möchte gerne den Rechner(Calculator) von Windows &quot;fernsteuern&quot;.</p>
<p>Starten geht:<br />
ShellExecute (0, &quot;open&quot;, &quot;C:\\WINDOWS\\System32\\calc.exe&quot;, &quot;&quot;, NULL, SW_SHOW);</p>
<p>Position setzen geht auch<br />
HWND hWin = FindWindow(NULL, &quot;Rechner&quot;);<br />
SetWindowPos(hWin,HWND_NOTOPMOST,0,0,300,300,SWP_FRAMECHANGED);</p>
<p>Nun möchte ich auf den Button1 ein click senden</p>
<p>HWND ParentWnd;<br />
ParentWnd = FindWindow(NULL, &quot;Rechner&quot;);<br />
SetForegroundWindow(ParentWnd);<br />
int hwnd=0;<br />
HWND hwndChild;</p>
<p>if(ParentWnd == 0)<br />
{<br />
}<br />
else<br />
{<br />
hwndChild = FindWindowEx(ParentWnd,0,&quot;Button&quot;,&quot;1&quot;);<br />
::SendMessage(hwndChild,BN_CLICKED, VK_RETURN, 0);//ich weiß hier fehtl was<br />
}</p>
<p>geht aber nicht!</p>
<p>Weiß jemand den code.</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1216765</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1216765</guid><dc:creator><![CDATA[zorro888]]></dc:creator><pubDate>Thu, 25 Jan 2007 11:23:08 GMT</pubDate></item><item><title><![CDATA[Reply to Rechner(Calculator) von Windows &amp;quot;fernsteuern&amp;quot; on Thu, 25 Jan 2007 11:47:33 GMT]]></title><description><![CDATA[<p>im Thread<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-171009.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-171009.html</a><br />
gabs ne Lösung</p>
<p>HWND ParentWnd;<br />
ParentWnd = FindWindow(NULL, &quot;Rechner&quot;);<br />
SetForegroundWindow(ParentWnd);<br />
int hwnd=0;<br />
HWND hwndChild;<br />
if(ParentWnd == 0)<br />
{<br />
}<br />
else<br />
{<br />
hwndChild = FindWindowEx(ParentWnd,0,&quot;Button&quot;,&quot;1&quot;);<br />
SendMessage(hwndChild, WM_LBUTTONDOWN, 0, 0);<br />
SendMessage(hwndChild, WM_LBUTTONUP, 0, 0);<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1216783</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1216783</guid><dc:creator><![CDATA[zorro888]]></dc:creator><pubDate>Thu, 25 Jan 2007 11:47:33 GMT</pubDate></item></channel></rss>