<?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[Fenster im hidden Modus erstellen?]]></title><description><![CDATA[<p>Hallo!!</p>
<p>Weiß jemand von euch wie ich ein Fenster erstellen kann das nicht sichtbar ist weder in der Taskleiste noch unter Prozesse?</p>
<p>Danke vielmals</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/116703/fenster-im-hidden-modus-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 03 Jul 2026 14:37:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/116703.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 Jul 2005 13:58:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fenster im hidden Modus erstellen? on Fri, 29 Jul 2005 13:58:32 GMT]]></title><description><![CDATA[<p>Hallo!!</p>
<p>Weiß jemand von euch wie ich ein Fenster erstellen kann das nicht sichtbar ist weder in der Taskleiste noch unter Prozesse?</p>
<p>Danke vielmals</p>
]]></description><link>https://www.c-plusplus.net/forum/post/841697</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/841697</guid><dc:creator><![CDATA[FragenderMitFrage]]></dc:creator><pubDate>Fri, 29 Jul 2005 13:58:32 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster im hidden Modus erstellen? on Fri, 29 Jul 2005 15:12:25 GMT]]></title><description><![CDATA[<p>Das fenster selbst soll trotzdem sichtbar sein?<br />
Nicht in Taskleiste: Erzeug' ein unsichtbares top level window, und erzeuge dein Fenster als Child (mit WS_POPUP - Stil, nicht WS_CHILD)</p>
<p>Nicht in Prozeßliste: schwieriger. Warum?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/841750</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/841750</guid><dc:creator><![CDATA[peterchen]]></dc:creator><pubDate>Fri, 29 Jul 2005 15:12:25 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster im hidden Modus erstellen? on Fri, 29 Jul 2005 15:19:55 GMT]]></title><description><![CDATA[<p>Ganz einfach: Keinen Prozess erzeugen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/841758</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/841758</guid><dc:creator><![CDATA[*rofl*]]></dc:creator><pubDate>Fri, 29 Jul 2005 15:19:55 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster im hidden Modus erstellen? on Fri, 29 Jul 2005 18:27:39 GMT]]></title><description><![CDATA[<p>ganz einfach schau bei google doch mal unter</p>
<blockquote>
<p>programm nicht in taskmanager c++</p>
</blockquote>
<p>da fand ich dann an 3. stelle</p>
<blockquote>
<p>Re: Programm soll nicht im Taskmanager erscheinen</p>
<p>Hallo Ajo,</p>
<p>den folgenden Code habe ich von <a href="http://www.ensacom.de" rel="nofollow">www.ensacom.de</a> :</p>
<p>function RegisterServiceProcess(dwProcessID, dwType: dword): integer; stdcall;<br />
external 'Kernel32.dll';</p>
<p>procedure TForm1.FormCreate(Sender: TObject);<br />
begin<br />
RegisterServiceProcess(0, 1);<br />
end;</p>
<p>Er sollte funktionieren.</p>
<p>gruß,<br />
GoFi</p>
</blockquote>
<p>und um die Konsole zu verstecken soll folgendes funktionieren<br />
leider noch nicht ausprobiert</p>
<blockquote>
<p>#include &lt;windows.h&gt;<br />
#include &lt;stdio.h&gt;</p>
<p>const HWND GetConsoleWindow(){<br />
HWND hwnd;<br />
TCHAR strNewTitle [256];<br />
TCHAR strOldTitle [256];<br />
GetConsoleTitle ( strOldTitle , 256 );<br />
wsprintf ( strNewTitle , &quot;%d/%d&quot; , GetTickCount () , GetCurrentProcessId () );<br />
SetConsoleTitle ( strNewTitle );<br />
Sleep ( 50 );<br />
hwnd = FindWindow ( NULL , strNewTitle );<br />
SetConsoleTitle ( strOldTitle );<br />
return ( hwnd );<br />
}//end GetConsoleWindow</p>
<p>const bool HideConsole(){<br />
return (ShowWindow(GetConsoleWindow(),SW_HIDE)&amp;&amp;true);<br />
}//end HideConsole</p>
<p>int main(){<br />
!<br />
HideConsole ();//versteckt die konsole</p>
</blockquote>
<p>so hoffe mal das ist alles was du gesucht hast</p>
]]></description><link>https://www.c-plusplus.net/forum/post/841837</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/841837</guid><dc:creator><![CDATA[Skippy]]></dc:creator><pubDate>Fri, 29 Jul 2005 18:27:39 GMT</pubDate></item></channel></rss>