<?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[Pfeil im ListView-Header &amp;quot;dauerhaft&amp;quot;]]></title><description><![CDATA[<p>Hallo,</p>
<p>hab mir aus dem Newsgroup-Beitrag<br />
<a href="http://groups.google.de/group/borland.public.delphi.vcl.components.using/browse_thread/thread/875f20bd9e0f0b91/e2a38b2275cc641f?lnk=st&amp;q=hdritem.mask+HDI_FORMAT+HDI_BITMAP&amp;rnum=3&amp;hl=de#e2a38b2275cc641f" rel="nofollow">http://groups.google.de/group/borland.public.delphi.vcl.components.using/browse_thread/thread/875f20bd9e0f0b91/e2a38b2275cc641f?lnk=st&amp;q=hdritem.mask+HDI_FORMAT+HDI_BITMAP&amp;rnum=3&amp;hl=de#e2a38b2275cc641f</a> den Delphi-Code nach C übersetzt und habe jetzt ein Bildchen im Listview-Header. Do wie dort bereits erwähnt, verschwindet das wieder, sobalt der Benutzer z.B. die Columns in der Größe verändert.<br />
Abhilfe soll das hier schaffen:</p>
<blockquote>
<p>The following example shows the principle. There is a *major* snag<br />
here, though. Since the VCL listview has no idea that you changed some<br />
header properties it will happily wipe out what you did every time it<br />
feels like resetting some of the header properties, e.g. when the user<br />
resizes one of the columns. This can be dealt with if needs be, by<br />
subclassing the header control to trap the HDM_SETITEM messages that<br />
change the item properties. The TListview class already subclasses the<br />
header but the method used is private and not virtual, so not<br />
accessible.</p>
</blockquote>
<p>Was will mir das sagen :o Ich versteh so gut wie gar nix <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="😉"
    /><br />
Kann mir das jemd. mit eifachen Worten erklären?</p>
<p>mfg<br />
xXx</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/119513/pfeil-im-listview-header-quot-dauerhaft-quot</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Jul 2026 08:52:49 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/119513.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Sep 2005 16:38:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pfeil im ListView-Header &amp;quot;dauerhaft&amp;quot; on Thu, 01 Sep 2005 16:38:21 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>hab mir aus dem Newsgroup-Beitrag<br />
<a href="http://groups.google.de/group/borland.public.delphi.vcl.components.using/browse_thread/thread/875f20bd9e0f0b91/e2a38b2275cc641f?lnk=st&amp;q=hdritem.mask+HDI_FORMAT+HDI_BITMAP&amp;rnum=3&amp;hl=de#e2a38b2275cc641f" rel="nofollow">http://groups.google.de/group/borland.public.delphi.vcl.components.using/browse_thread/thread/875f20bd9e0f0b91/e2a38b2275cc641f?lnk=st&amp;q=hdritem.mask+HDI_FORMAT+HDI_BITMAP&amp;rnum=3&amp;hl=de#e2a38b2275cc641f</a> den Delphi-Code nach C übersetzt und habe jetzt ein Bildchen im Listview-Header. Do wie dort bereits erwähnt, verschwindet das wieder, sobalt der Benutzer z.B. die Columns in der Größe verändert.<br />
Abhilfe soll das hier schaffen:</p>
<blockquote>
<p>The following example shows the principle. There is a *major* snag<br />
here, though. Since the VCL listview has no idea that you changed some<br />
header properties it will happily wipe out what you did every time it<br />
feels like resetting some of the header properties, e.g. when the user<br />
resizes one of the columns. This can be dealt with if needs be, by<br />
subclassing the header control to trap the HDM_SETITEM messages that<br />
change the item properties. The TListview class already subclasses the<br />
header but the method used is private and not virtual, so not<br />
accessible.</p>
</blockquote>
<p>Was will mir das sagen :o Ich versteh so gut wie gar nix <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="😉"
    /><br />
Kann mir das jemd. mit eifachen Worten erklären?</p>
<p>mfg<br />
xXx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/862996</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/862996</guid><dc:creator><![CDATA[-**xXx**-]]></dc:creator><pubDate>Thu, 01 Sep 2005 16:38:21 GMT</pubDate></item><item><title><![CDATA[Reply to Pfeil im ListView-Header &amp;quot;dauerhaft&amp;quot; on Fri, 02 Sep 2005 06:39:50 GMT]]></title><description><![CDATA[<p>du kannst dir folgendes beispiel runterladen und anschauen (winace gepackt).</p>
<p><a href="http://www.ricosonntag.de/download/listview.ace" rel="nofollow">listview.ace</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/863335</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/863335</guid><dc:creator><![CDATA[Sunday]]></dc:creator><pubDate>Fri, 02 Sep 2005 06:39:50 GMT</pubDate></item><item><title><![CDATA[Reply to Pfeil im ListView-Header &amp;quot;dauerhaft&amp;quot; on Fri, 02 Sep 2005 10:27:04 GMT]]></title><description><![CDATA[<p>So weit so gut, nur das in dem Fall der Sortierpfeil auf der linken und nicht der rechten Seite der Column ist...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/863480</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/863480</guid><dc:creator><![CDATA[-**xXx**-]]></dc:creator><pubDate>Fri, 02 Sep 2005 10:27:04 GMT</pubDate></item><item><title><![CDATA[Reply to Pfeil im ListView-Header &amp;quot;dauerhaft&amp;quot; on Fri, 02 Sep 2005 17:27:05 GMT]]></title><description><![CDATA[<p>Habs jetzt selber gelöst. Reagiere auf die WM_NOTIFY und im speziellen auf HDN_ENDTRACK.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/863780</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/863780</guid><dc:creator><![CDATA[-**xXx**-]]></dc:creator><pubDate>Fri, 02 Sep 2005 17:27:05 GMT</pubDate></item></channel></rss>