<?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[Glyph oder Icons in TStringGrid?]]></title><description><![CDATA[<p>Hallo, ist es möglich in den StringGrid auch Icons einzufügen, wie es in FTP Programmen der Fall ist??</p>
<p>Danke schon mal<br />
Gruß<br />
Thorsten</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/107946/glyph-oder-icons-in-tstringgrid</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 18:54:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/107946.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 24 Apr 2005 18:40:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Glyph oder Icons in TStringGrid? on Sun, 24 Apr 2005 18:40:34 GMT]]></title><description><![CDATA[<p>Hallo, ist es möglich in den StringGrid auch Icons einzufügen, wie es in FTP Programmen der Fall ist??</p>
<p>Danke schon mal<br />
Gruß<br />
Thorsten</p>
]]></description><link>https://www.c-plusplus.net/forum/post/774478</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/774478</guid><dc:creator><![CDATA[ThorstenSteinberg]]></dc:creator><pubDate>Sun, 24 Apr 2005 18:40:34 GMT</pubDate></item><item><title><![CDATA[Reply to Glyph oder Icons in TStringGrid? on Sun, 24 Apr 2005 19:13:56 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Stichwörter sind <em>TStringGrid::OnDrawEvent</em> und die WinApi-Funktion <em>ExtractAssociatedIcon()</em>. Dazu gibt es auch bereits ein Thread im Forum, also such mal.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/774492</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/774492</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sun, 24 Apr 2005 19:13:56 GMT</pubDate></item><item><title><![CDATA[Reply to Glyph oder Icons in TStringGrid? on Sun, 24 Apr 2005 20:17:51 GMT]]></title><description><![CDATA[<p>jo cool danke!, werde es mir morgen dann mal anschauen ! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/774536</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/774536</guid><dc:creator><![CDATA[ThorstenSteinberg]]></dc:creator><pubDate>Sun, 24 Apr 2005 20:17:51 GMT</pubDate></item><item><title><![CDATA[Reply to Glyph oder Icons in TStringGrid? on Sun, 24 Apr 2005 20:34:01 GMT]]></title><description><![CDATA[<p>Bemerkung am Rande: für Dateilisten dieser Art vewendet man üblicherweise kein StringGrid sondern TListView. Da gibt's schon spezielle Properties für die Darstellung von Icons etc.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/774539</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/774539</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Sun, 24 Apr 2005 20:34:01 GMT</pubDate></item><item><title><![CDATA[Reply to Glyph oder Icons in TStringGrid? on Mon, 25 Apr 2005 15:43:06 GMT]]></title><description><![CDATA[<p>hmm, mit tlistview, bekomme ich das immo nicht gebacken, mit stringlist geht es, nur zeigt er mir nicht die ordner symbole an</p>
<p>siehe: <a href="http://www.thorsten-steinberg.de/nod.bmp" rel="nofollow">http://www.thorsten-steinberg.de/nod.bmp</a></p>
<p>wie kann das sein?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/775092</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/775092</guid><dc:creator><![CDATA[ThorstenSteinberg]]></dc:creator><pubDate>Mon, 25 Apr 2005 15:43:06 GMT</pubDate></item><item><title><![CDATA[Reply to Glyph oder Icons in TStringGrid? on Mon, 25 Apr 2005 15:52:58 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>bei Verzeichnissen must du selber ein Icon auswählen und anzeigen. Das heißt du must im OnDrawCell-Event wissen, ob du eine Datei oder ein Verzeichniss anzeigst.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/775098</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/775098</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 25 Apr 2005 15:52:58 GMT</pubDate></item><item><title><![CDATA[Reply to Glyph oder Icons in TStringGrid? on Mon, 25 Apr 2005 16:23:13 GMT]]></title><description><![CDATA[<p>ok, dass erkenne ich ja an den datei attributen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/775124</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/775124</guid><dc:creator><![CDATA[ThorstenSteinberg]]></dc:creator><pubDate>Mon, 25 Apr 2005 16:23:13 GMT</pubDate></item><item><title><![CDATA[Reply to Glyph oder Icons in TStringGrid? on Tue, 26 Apr 2005 09:33:05 GMT]]></title><description><![CDATA[<p>Hallo Thomas,<br />
Frage in eigener Sache.(Evtl hast Du mit dem gleichen Problem rumgekämpft)<br />
Ich habe im OnDrawEvent ein Bmp im StringGrid dagestellt. Also nicht Icons wie Du.<br />
Klingt aber ziemlich ähnlich.<br />
Habe aktuell ein Problem, wenn ich Scrolle, dann zeigt es mir die Bmp´s im Grid nicht an. (Nur im´mer von den ersten)<br />
Das kommt daher, weil ich die Position des Bmp´s anhand der aktiven Reihe berechne.</p>
<pre><code>int iRow = StringGrid-&gt;RowCount;
	h = (ARow*StringGrid-&gt;RowHeights[iRow]) + ARow;
StringGrid-&gt;Canvas-&gt;Draw(Width, h ,pBitmap);
</code></pre>
<p>Beim Scrollen muß eigentlich der Wert h neu umgerechnet werden.</p>
<p>Hattest Du ähnliche Probleme? Wenn ja wie hast Du es gelösst.</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/775696</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/775696</guid><dc:creator><![CDATA[necommervcc]]></dc:creator><pubDate>Tue, 26 Apr 2005 09:33:05 GMT</pubDate></item><item><title><![CDATA[Reply to Glyph oder Icons in TStringGrid? on Tue, 26 Apr 2005 09:41:02 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>so wird das auch nichts.<br />
Der OnDrawCell-Event hat doch den Parameter Rect, der doch die zu verwendende Zeichenfläche angibt. Es müßte also ungefähr so aussehen :</p>
<pre><code class="language-cpp">StringGrid-&gt;Canvas-&gt;Draw(Rect.left, Rect.top, pBitmap);
</code></pre>
<p>Eventuell must du das Bitmap im Rechteck noch ausrichten.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/775709</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/775709</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Tue, 26 Apr 2005 09:41:02 GMT</pubDate></item><item><title><![CDATA[Reply to Glyph oder Icons in TStringGrid? on Tue, 26 Apr 2005 09:45:53 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /><br />
Ja das wars.<br />
<img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /> Da habe ich mich überdacht.<br />
Danke akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/775714</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/775714</guid><dc:creator><![CDATA[necommervcc]]></dc:creator><pubDate>Tue, 26 Apr 2005 09:45:53 GMT</pubDate></item></channel></rss>