<?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[CToolBarCtrl Hintergrund nicht transparent]]></title><description><![CDATA[<p>Hallo</p>
<p>mein Dialog hat eine Toolbar, diese wird über</p>
<p>m_toolbar.CreateEx(WS_EX_TRANSPARENT, WS_CHILD |WS_VISIBLE | CCS_NORESIZE | CCS_NODIVIDER , CRect(0,0,0,0), this, 1456);</p>
<p>erzeugt</p>
<p>Es handelt sich um die Klasse CToolBarCtrl und nicht um CToolBar.</p>
<p>Aber der hintergrund wird so hellgrau dargestellt, obwohl da ja transparent<br />
übergeben wird.</p>
<p>Hat jemand ne idee? ich will die gleiche farbe wie der dahinterliegende dialog,<br />
bzw transparent.</p>
<p>Danke schön !</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/181859/ctoolbarctrl-hintergrund-nicht-transparent</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 17:04:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/181859.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 18 May 2007 09:39:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CToolBarCtrl Hintergrund nicht transparent on Fri, 18 May 2007 09:39:09 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>mein Dialog hat eine Toolbar, diese wird über</p>
<p>m_toolbar.CreateEx(WS_EX_TRANSPARENT, WS_CHILD |WS_VISIBLE | CCS_NORESIZE | CCS_NODIVIDER , CRect(0,0,0,0), this, 1456);</p>
<p>erzeugt</p>
<p>Es handelt sich um die Klasse CToolBarCtrl und nicht um CToolBar.</p>
<p>Aber der hintergrund wird so hellgrau dargestellt, obwohl da ja transparent<br />
übergeben wird.</p>
<p>Hat jemand ne idee? ich will die gleiche farbe wie der dahinterliegende dialog,<br />
bzw transparent.</p>
<p>Danke schön !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1287250</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1287250</guid><dc:creator><![CDATA[Smeagol]]></dc:creator><pubDate>Fri, 18 May 2007 09:39:09 GMT</pubDate></item><item><title><![CDATA[Reply to CToolBarCtrl Hintergrund nicht transparent on Fri, 18 May 2007 11:06:06 GMT]]></title><description><![CDATA[<p>WS_EX_TRANSPARENT sagt nicht, dass der Hintergrund Transparent ist. Es hat transparente Eigenschaften wenn es den Hintergrund nicht zeichnet. Aber genau das macht ein Toolbar!</p>
<p>Wie immer ist es das Beste mal die Doku zu lesen:<br />
<a href="http://msdn2.microsoft.com/en-us/library/tf5d6ca2(VS.80).aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/tf5d6ca2(VS.80).aspx</a></p>
<blockquote>
<p>A transparent toolbar allows the client under the toolbar to show through. To create a transparent toolbar, use both TBSTYLE_FLAT and TBSTYLE_TRANSPARENT styles. Transparent toolbars feature hot tracking; that is, when the mouse pointer moves over a hot button on the toolbar, the button's appearance changes. Toolbars created with just the TBSTYLE_FLAT style will contain buttons that are not transparent.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1287309</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1287309</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 18 May 2007 11:06:06 GMT</pubDate></item></channel></rss>