<?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[TrayIcon Iconwechsel]]></title><description><![CDATA[<p>Hallo,<br />
ich habe einem kleinen Programm ein TrayIcon hinzugefügt. Jetzt möchte ich, dass das aktivierte Programm ein anderes Icon zeigt wie das wartende.</p>
<p>Das funktioniert schonmal nicht:</p>
<pre><code>__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)

{
if (activate = 2) {TrayIcon1-&gt;IconIndex = 0;}
if (activate = 1) {TrayIcon1-&gt;IconIndex = 1;}
}
</code></pre>
<p>thx<br />
G-Kar</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/182431/trayicon-iconwechsel</link><generator>RSS for Node</generator><lastBuildDate>Sat, 15 Aug 2026 21:06:32 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/182431.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 May 2007 21:43:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TrayIcon Iconwechsel on Thu, 24 May 2007 21:43:01 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich habe einem kleinen Programm ein TrayIcon hinzugefügt. Jetzt möchte ich, dass das aktivierte Programm ein anderes Icon zeigt wie das wartende.</p>
<p>Das funktioniert schonmal nicht:</p>
<pre><code>__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)

{
if (activate = 2) {TrayIcon1-&gt;IconIndex = 0;}
if (activate = 1) {TrayIcon1-&gt;IconIndex = 1;}
}
</code></pre>
<p>thx<br />
G-Kar</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1291843</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1291843</guid><dc:creator><![CDATA[G-Kar]]></dc:creator><pubDate>Thu, 24 May 2007 21:43:01 GMT</pubDate></item><item><title><![CDATA[Reply to TrayIcon Iconwechsel on Fri, 25 May 2007 04:45:56 GMT]]></title><description><![CDATA[<p>wenn du den Quellcode wirklich so in deinem Programm hast funktioniert das nie<br />
wie macht man den Vergleiche und wie Zuweisungen?<br />
= ist eine Zuweisung<br />
== ist ein Vergleich</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1291888</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1291888</guid><dc:creator><![CDATA[Linnea]]></dc:creator><pubDate>Fri, 25 May 2007 04:45:56 GMT</pubDate></item><item><title><![CDATA[Reply to TrayIcon Iconwechsel on Fri, 25 May 2007 21:47:41 GMT]]></title><description><![CDATA[<p>Ups da hab ich wohl geträumt.....</p>
<p>Naja funktioniert auch mit == nicht.</p>
<p>Mir ist auch aufgefallen, dass er ein Icon nur für das TrayIcon übernimmt, wenn es das Symbol der exe Datei ist. Die ImageList kann ich sogar weglassen.</p>
<p>thx<br />
G-Kar</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1292479</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1292479</guid><dc:creator><![CDATA[G-Kar]]></dc:creator><pubDate>Fri, 25 May 2007 21:47:41 GMT</pubDate></item><item><title><![CDATA[Reply to TrayIcon Iconwechsel on Tue, 29 May 2007 04:51:31 GMT]]></title><description><![CDATA[<p>hast du die Imagelist auch mit dem TrayIcon verbunden? und Bilder reingetan? und dem activate einen Wert zuegwiesen?<br />
wenn bei allen ja funktioniert das mit dem IntemIndex durchaus</p>
<p>beim BCB ist übrigends ein Beispiel zu TrayIcon dabei:<br />
&lt;BCB-Path&gt;/Examples/Controls/Traydemo</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1294151</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1294151</guid><dc:creator><![CDATA[Linnea]]></dc:creator><pubDate>Tue, 29 May 2007 04:51:31 GMT</pubDate></item></channel></rss>