<?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[LVM_SETBKCOLOR + Transparenz]]></title><description><![CDATA[<p>Wenn ich meinem ListView ein LVM_SETBKCOLOR sende, mit CLR_NONE sollte der Hintergrund des ListView transparent/farblos erscheinen.<br />
Bei mir wird er aber SCHWARZ statt Transparent.</p>
<p>Kann da jemand was zu beisteuern??<br />
MFG:a4</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/77185/lvm_setbkcolor-transparenz</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 19:00:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/77185.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 18 Jun 2004 11:40:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LVM_SETBKCOLOR + Transparenz on Fri, 18 Jun 2004 11:40:45 GMT]]></title><description><![CDATA[<p>Wenn ich meinem ListView ein LVM_SETBKCOLOR sende, mit CLR_NONE sollte der Hintergrund des ListView transparent/farblos erscheinen.<br />
Bei mir wird er aber SCHWARZ statt Transparent.</p>
<p>Kann da jemand was zu beisteuern??<br />
MFG:a4</p>
]]></description><link>https://www.c-plusplus.net/forum/post/543094</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/543094</guid><dc:creator><![CDATA[a4]]></dc:creator><pubDate>Fri, 18 Jun 2004 11:40:45 GMT</pubDate></item><item><title><![CDATA[Reply to LVM_SETBKCOLOR + Transparenz on Fri, 18 Jun 2004 12:47:05 GMT]]></title><description><![CDATA[<p>In der aktuellen MSDN steht folgendes:</p>
<blockquote>
<p>clrBk<br />
Background color to set or the CLR_NONE value for no background color. List-view controls with background colors redraw themselves significantly faster than those without background colors.</p>
</blockquote>
<p>In der alten MSDN steht hingegen:</p>
<blockquote>
<p>Default List View Message Processing:<br />
...<br />
WM_ERASEBKGND Erases the window background using the current background color for the list view control. If the background color is the CLR_NONE value, the list view control forwards the message to the parent window.<br />
...</p>
</blockquote>
<p>Ich vermute es liegt daran, dass dein Elternfenster den Hintergrund schwarz malt. Wenn ich bei meinem Treeview Control (ok ist kein ListView <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /> ) CLR_NONE als Hintergrundfarbe angebe, wird der Hintergrund in weiß gezeichnet.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/543135</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/543135</guid><dc:creator><![CDATA[Aziz]]></dc:creator><pubDate>Fri, 18 Jun 2004 12:47:05 GMT</pubDate></item><item><title><![CDATA[Reply to LVM_SETBKCOLOR + Transparenz on Fri, 18 Jun 2004 12:49:59 GMT]]></title><description><![CDATA[<p>Ok, dass ich CLR_NONE bei einem TreeView Control angebe dürfte da sowieso nichts bewirken. Ignorier am besten was ich da gesagt habe <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/543139</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/543139</guid><dc:creator><![CDATA[Aziz]]></dc:creator><pubDate>Fri, 18 Jun 2004 12:49:59 GMT</pubDate></item><item><title><![CDATA[Reply to LVM_SETBKCOLOR + Transparenz on Sun, 20 Jun 2004 14:41:13 GMT]]></title><description><![CDATA[<p>Hab immernoch das Problem, das CLR_NONE bei mir den Hintergrund schwarz färbt, statt transparent...<br />
Hat da jemand nen besseren Tip???</p>
<p>MFG:a4</p>
]]></description><link>https://www.c-plusplus.net/forum/post/544287</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/544287</guid><dc:creator><![CDATA[a4]]></dc:creator><pubDate>Sun, 20 Jun 2004 14:41:13 GMT</pubDate></item><item><title><![CDATA[Reply to LVM_SETBKCOLOR + Transparenz on Sun, 20 Jun 2004 14:57:22 GMT]]></title><description><![CDATA[<p>Hab das folgende aus einer Newsgroup:</p>
<blockquote>
<p>**************************************************************************<br />
3. Images in List View columns are not drawn transparently<br />
**************************************************************************</p>
<p>This one's odd. If you create an image list, assign it to a ListView<br />
control, and assign images to the column headers, the images in the column<br />
headers are not drawn transparently, but rather are drawn with a background<br />
of COLOR_WINDOW</p>
<p>Create a ListView control.<br />
Create a masked ImageList with the image icons for the columns and the items<br />
in the list. Assign the imagelist to the ListView control.<br />
Create a set of columns with image icons; whether assigned at create time or<br />
not.</p>
<p>Display List View - result? Transparent areas are drawn in COLOR_WINDOW.</p>
<h1>Workaround</h1>
<p>This appears to be yet another class of order-dependency bug. To fix it, you<br />
have to create the ImageList, assign it to the ListView control, and then<br />
*after* assigning it, set the BkColor of the ImageList to CLR_NONE. If you<br />
don't do this after assigning it to the ListView, you will not get proper<br />
transparent drawing.</p>
</blockquote>
<p>Hast du eine ImageList? Wenn ja, dann setze den Hintergrund erst nachdem du sie dem ListView Control zugewiesen hast. Ich hab keine Ahnung ob das helfen wird, aber wir wollen ja nichts unprobiert lassen <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/544295</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/544295</guid><dc:creator><![CDATA[Aziz]]></dc:creator><pubDate>Sun, 20 Jun 2004 14:57:22 GMT</pubDate></item><item><title><![CDATA[Reply to LVM_SETBKCOLOR + Transparenz on Sun, 20 Jun 2004 15:03:29 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/5360">@aziz</a><br />
Das hilft mir leider nicht wirklich.<br />
Ich habe keine Image-List.<br />
Das einzige Bild in der ListView soll ein Hintergrundbild in der Anwendung sein.<br />
Deswegen soll TextBkColor und BkColor transparent sein.<br />
Wenn ich bei TextBkColor CLR_None angebe funzt das ja supi.<br />
Wenn ichs bei BkColor mache ist halt schwarz.<br />
(Meine COLOR_WINDOW farbe ist übrigens NICHT schwarz)</p>
<p>Trotzdem Danke aziz.</p>
<p>... andere Vorschläge ... ??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/544300</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/544300</guid><dc:creator><![CDATA[a4]]></dc:creator><pubDate>Sun, 20 Jun 2004 15:03:29 GMT</pubDate></item><item><title><![CDATA[Reply to LVM_SETBKCOLOR + Transparenz on Sun, 20 Jun 2004 15:10:48 GMT]]></title><description><![CDATA[<p>Hmm, dann weiß ich echt nimmer woran's liegen könnte. Kannst du uns deinen Code herzeigen, falls möglich?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/544304</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/544304</guid><dc:creator><![CDATA[Aziz]]></dc:creator><pubDate>Sun, 20 Jun 2004 15:10:48 GMT</pubDate></item><item><title><![CDATA[Reply to LVM_SETBKCOLOR + Transparenz on Sun, 20 Jun 2004 15:20:16 GMT]]></title><description><![CDATA[<p>klar kann ich den code zeigen... aber<br />
leider erst ab morgen. (komm heute nicht mehr dran)</p>
<p>Probier das dann einfach nochmal.<br />
THX a4</p>
]]></description><link>https://www.c-plusplus.net/forum/post/544310</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/544310</guid><dc:creator><![CDATA[a4]]></dc:creator><pubDate>Sun, 20 Jun 2004 15:20:16 GMT</pubDate></item></channel></rss>