<?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 soll, wenn es minimiert wird in den infoberich geschoben werden, wie?]]></title><description><![CDATA[<p>hallo,<br />
ich wollte wissen wie ich mein anwendungs symbol in den infobereich schiebe nach ausblendung des fenster? also neben die windoof-uhr. und müsste ich die anwendung noch mal extra aus der taskl. nemmen?</p>
<p>Gruß Tobi</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/174758/fenster-soll-wenn-es-minimiert-wird-in-den-infoberich-geschoben-werden-wie</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 14:44:19 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/174758.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 03 Mar 2007 10:11:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fenster soll, wenn es minimiert wird in den infoberich geschoben werden, wie? on Sat, 03 Mar 2007 10:11:40 GMT]]></title><description><![CDATA[<p>hallo,<br />
ich wollte wissen wie ich mein anwendungs symbol in den infobereich schiebe nach ausblendung des fenster? also neben die windoof-uhr. und müsste ich die anwendung noch mal extra aus der taskl. nemmen?</p>
<p>Gruß Tobi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1238423</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1238423</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Sat, 03 Mar 2007 10:11:40 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster soll, wenn es minimiert wird in den infoberich geschoben werden, wie? on Sat, 03 Mar 2007 10:21:03 GMT]]></title><description><![CDATA[<p>Suchen...</p>
<p>Guck dir mal das an:</p>
<ul>
<li><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-172731-and-postdays-is-0-and-postorder-is-asc-and-highlight-is-%2Asystray%2A-and-start-is-10.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-172731-and-postdays-is-0-and-postorder-is-asc-and-highlight-is-%2Asystray%2A-and-start-is-10.html</a></li>
<li><a href="http://www.softgames.de/forum/viewtopic.php?t=77655&amp;postdays=0&amp;postorder=asc&amp;start=0" rel="nofollow">http://www.softgames.de/forum/viewtopic.php?t=77655&amp;postdays=0&amp;postorder=asc&amp;start=0</a></li>
<li><a href="http://www.winapi.net/index.php?inhalt=s16" rel="nofollow">http://www.winapi.net/index.php?inhalt=s16</a></li>
</ul>
<p>MFG<br />
Ace</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1238427</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1238427</guid><dc:creator><![CDATA[AceKiller73]]></dc:creator><pubDate>Sat, 03 Mar 2007 10:21:03 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster soll, wenn es minimiert wird in den infoberich geschoben werden, wie? on Sat, 03 Mar 2007 10:58:08 GMT]]></title><description><![CDATA[<p>danke.<br />
doc hab da irgendwie noch nen problem, und zwar das die exe_symb das icon als form bekommt, hab doch eigentlich alles richtig gemacht oder?<br />
Hier der quelltext:</p>
<p>die header_datei:</p>
<pre><code class="language-cpp">#ifndef CURSOR_H
#define CURSOR_H

////////////////////////////////////////////////////////////////////////////////
// Icon

    #define ID_ICON01       10000

#endif
</code></pre>
<p>dann in der .rc_datei:</p>
<pre><code class="language-cpp">#include &quot;CursorHere.h&quot;

ID_ICON01      ICON     DISCARDABLE        &quot;Icons/CursorHere.ico&quot;
</code></pre>
<p>und in der main .cpp_datei:</p>
<pre><code class="language-cpp">WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ) {

[...]
</code></pre>
<p>aber trotzdem bleibt das exe sybol als normales api_symbol</p>
<p>wieso???<br />
wc.hIcon = LoadIcon( hInstance, MAKEINTRESOURCE( ID_ICON01 ) );</p>
<p>[...]</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1238446</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1238446</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Sat, 03 Mar 2007 10:58:08 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster soll, wenn es minimiert wird in den infoberich geschoben werden, wie? on Sat, 03 Mar 2007 11:23:15 GMT]]></title><description><![CDATA[<p>Mach bitte erstmal deine Hausaufgaben. Wir haben deinen Quellcode nicht, ihn debuggen musst du schon machen:</p>
<blockquote>
<p><strong>LoadIcon</strong></p>
<p>Return Value<br />
If the function succeeds, the return value is a handle to the newly loaded icon.<br />
If the function fails, the return value is NULL. To get extended error information, call GetLastError.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1238451</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1238451</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Sat, 03 Mar 2007 11:23:15 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster soll, wenn es minimiert wird in den infoberich geschoben werden, wie? on Sat, 03 Mar 2007 12:15:32 GMT]]></title><description><![CDATA[<p>hm? wieso.. .erlässt sich compiliern... das icon oben im fenster wird ja ersetzt nur die exe net...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1238469</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1238469</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Sat, 03 Mar 2007 12:15:32 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster soll, wenn es minimiert wird in den infoberich geschoben werden, wie? on Sun, 04 Mar 2007 01:28:28 GMT]]></title><description><![CDATA[<p>Hmm, was verstehst du unter exe symbol ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1238755</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1238755</guid><dc:creator><![CDATA[geeky (nicht eingeloggt)]]></dc:creator><pubDate>Sun, 04 Mar 2007 01:28:28 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster soll, wenn es minimiert wird in den infoberich geschoben werden, wie? on Sun, 04 Mar 2007 11:13:10 GMT]]></title><description><![CDATA[<p>naja von der anwendung des symbol.... also das, welches auf dem Desktop liegt wo man so draufklicken muss weist du <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title="=)"
      alt="🙂"
    /> das mein ich...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1238848</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1238848</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Sun, 04 Mar 2007 11:13:10 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster soll, wenn es minimiert wird in den infoberich geschoben werden, wie? on Sun, 04 Mar 2007 12:08:26 GMT]]></title><description><![CDATA[<p>also ich habe folgendes getan:</p>
<pre><code class="language-cpp">static NOTIFYICONDATA idata;
        idata.cbSize = sizeof( idata );
        idata.hWnd = hWnd;
        idata.hIcon = LoadIcon( 0, MAKEINTRESOURCE( ID_ICON01 ) );
        idata.uID = ID_ICON01;
        idata.uFlags = NIF_ICON;
</code></pre>
<p>und in WM_COMMAND --&gt; ID_BUTTON03 --&gt; BN_CLICKED:<br />
Shell_NotifyIcon( NIM_ADD, &amp;idata );<br />
ShowWindow( hWnd, SW_HIDE );</p>
<p>doch erscheint untn im infobereich nur eine lücke doch nicht das icon... wieso denn nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1238884</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1238884</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Sun, 04 Mar 2007 12:08:26 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster soll, wenn es minimiert wird in den infoberich geschoben werden, wie? on Sun, 04 Mar 2007 12:27:05 GMT]]></title><description><![CDATA[<p>Hier probier mal den Code, ist zwar schon ziemlich lange her, dass ich den geschrieben habe, aber sollte funktionieren:</p>
<pre><code class="language-cpp">/* Nachricht, die nach einem Klick auf das Programmicon in der Taskleiste gesendet wird */
#ifndef WM_ICONCLICK
  #define WM_ICONCLICK		    (WM_APP+0)
#endif

bool ShowAppInTrayBar(HWND hReferencedWnd, bool fShowIcon, const PTCHAR* pszDisplayedTooltip,
					  HICON hiIconInTray, int iCommandID)
{
	if(!IsWindow(hReferencedWnd))
		return (false);

	NOTIFYICONDATA tsym;
	ZeroMemory(&amp;tsym, sizeof(NOTIFYICONDATA));

	// ....Icon anzeigen/erstellen....
	if(fShowIcon)
	{
		tsym.cbSize				= sizeof(NOTIFYICONDATA);
		tsym.hWnd				= hReferencedWnd;
		tsym.uID				= iCommandID;
		tsym.uFlags				= NIF_MESSAGE;
		tsym.uCallbackMessage	= WM_ICONCLICK;
		tsym.hIcon				= hiIconInTray;
		if(pszDisplayedTooltip != NULL)
		{
			const unsigned int SZ_TIP_SIZE = sizeof(tsym.szTip) / sizeof(tsym.szTip[0]);
			StrCpyN(tsym.szTip, pszDisplayedTooltip, (lstrlen(pszDisplayedTooltip)) &gt;= SZ_TIP_SIZE
					? SZ_TIP_SIZE : lstrlen(pszDisplayedTooltip));
			tsym.szTip[SZ_TIP_SIZE - 1] = 0;
			tsym.uFlags |= NIF_TIP;
		}
		if(hiIconInTray != NULL)
			tsym.uFlags |= NIF_ICON;

		// ....Nachricht senden....
		if(!Shell_NotifyIcon(NIM_ADD, &amp;tsym))
			return (false);
	}
	// ....Icon verstecken/löschen....
	else
	{
		// ....Strcut initialisieren....
		tsym.cbSize	= sizeof(NOTIFYICONDATA);
		tsym.hWnd	= hReferencedWnd;
		tsym.uID	= iCommandID;
		tsym.uFlags	= 0;

		// ....Nachricht senden....
		if(!Shell_NotifyIcon(NIM_DELETE, &amp;tsym))
			return (false);
	}
	return (true);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1238903</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1238903</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Sun, 04 Mar 2007 12:27:05 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster soll, wenn es minimiert wird in den infoberich geschoben werden, wie? on Sun, 04 Mar 2007 12:44:22 GMT]]></title><description><![CDATA[<p>jo passt schon abs allein geschaft... nur noch nen paar fragen....</p>
<p>wie darf ich das verstehen:<br />
#define WM_ICONCLICK (WM_APP+0)</p>
<p>was macht das????</p>
<p>und muss ich mein icon unbedingt so laden, damit es mir angezeigt wird?</p>
<p>hIcon = LoadImage( ((LPCREATESTRUCT)lParam)-&gt;hInstance,<br />
MAKEINTRESOURCE(ID_ICON01), IMAGE_ICON, 0, 0, LR_SHARED );</p>
<p>wieso muss ich beim loeschen des tryicons des noch mal so schreiben?<br />
// ....Strcut initialisieren....<br />
tsym.cbSize = sizeof(NOTIFYICONDATA);<br />
tsym.hWnd = hReferencedWnd;<br />
tsym.uID = iCommandID;<br />
tsym.uFlags = 0;</p>
<p>schon mal danke fuers aufklären <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Gruß Tobi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1238915</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1238915</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Sun, 04 Mar 2007 12:44:22 GMT</pubDate></item></channel></rss>