<?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[List view style zur Laufzeit aendern]]></title><description><![CDATA[<p>Hi,</p>
<p>ich moechte den Style meines List View Controls zur Laufzeit aendern. Alles was ich fand, war, dass das mit GetWindowLong und SetWindowLong geht. Leider stehe ich auf dem Schlauch. Kann mir jemand auf die Spruenge helfen?</p>
<pre><code>LONG style = GetWindowLong( GetListCtrl().m_hWnd, GWL_STYLE ) ;
	style |= LVS_TYPEMASK ;
	style &amp;= LVS_SMALLICON ;
	SetWindowLong( GetListCtrl().m_hWnd, GWL_STYLE, style ) ;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/157764/list-view-style-zur-laufzeit-aendern</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 11:49:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/157764.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 29 Aug 2006 11:36:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to List view style zur Laufzeit aendern on Tue, 29 Aug 2006 11:36:10 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich moechte den Style meines List View Controls zur Laufzeit aendern. Alles was ich fand, war, dass das mit GetWindowLong und SetWindowLong geht. Leider stehe ich auf dem Schlauch. Kann mir jemand auf die Spruenge helfen?</p>
<pre><code>LONG style = GetWindowLong( GetListCtrl().m_hWnd, GWL_STYLE ) ;
	style |= LVS_TYPEMASK ;
	style &amp;= LVS_SMALLICON ;
	SetWindowLong( GetListCtrl().m_hWnd, GWL_STYLE, style ) ;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1126774</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1126774</guid><dc:creator><![CDATA[BikerT]]></dc:creator><pubDate>Tue, 29 Aug 2006 11:36:10 GMT</pubDate></item><item><title><![CDATA[Reply to List view style zur Laufzeit aendern on Tue, 29 Aug 2006 11:51:16 GMT]]></title><description><![CDATA[<p>Woran hakt es denn?<br />
Ist es vielleicht das:</p>
<pre><code class="language-cpp">LONG style = GetWindowLong( GetListCtrl().m_hWnd, GWL_STYLE ) ; 
style |= LVS_TYPEMASK ; 
style |= LVS_SMALLICON ; // statt &amp;=
SetWindowLong( GetListCtrl().m_hWnd, GWL_STYLE, style ) ;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1126789</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1126789</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Tue, 29 Aug 2006 11:51:16 GMT</pubDate></item><item><title><![CDATA[Reply to List view style zur Laufzeit aendern on Tue, 29 Aug 2006 12:15:46 GMT]]></title><description><![CDATA[<p>Ich habs:</p>
<p>LONG style = GetWindowLong( GetListCtrl().m_hWnd, GWL_STYLE ) ;<br />
style &amp;= ~LVS_TYPEMASK ;<br />
style |= LVS_SMALLICON ;<br />
SetWindowLong( GetListCtrl().m_hWnd, GWL_STYLE, style ) ;</p>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1126800</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1126800</guid><dc:creator><![CDATA[BikerT]]></dc:creator><pubDate>Tue, 29 Aug 2006 12:15:46 GMT</pubDate></item><item><title><![CDATA[Reply to List view style zur Laufzeit aendern on Tue, 29 Aug 2006 12:44:49 GMT]]></title><description><![CDATA[<p>ggf. auch SetWindowPos(...) <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/1126818</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1126818</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Tue, 29 Aug 2006 12:44:49 GMT</pubDate></item></channel></rss>