<?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[Item im ListView Control erscheint rechts.]]></title><description><![CDATA[<p>Laut MSDN müssten die Items ganz links erstellt werden. Also jeweils in der ersten Spalte. Und die Subitems sind dann die Einträge in den anderen Spalten.</p>
<p>Jedes Item ist der Kopf einer Zeile. Bei mir ist der Kopf jeder Zeile auf der rechten Seite.</p>
<p>Weis jmd. wie ich ihn auf die linke Seite bekommen.<br />
Das Problem ist: Man soll nur Köpfe markieren können und rechts ist unschön.</p>
<p>Kann mir j.d. helfen?</p>
<p>Ich bedanke mich im Voraus.</p>
<p>MfG. Tolga.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/119123/item-im-listview-control-erscheint-rechts</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Jul 2026 13:35:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/119123.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Aug 2005 12:22:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Item im ListView Control erscheint rechts. on Sun, 28 Aug 2005 12:22:35 GMT]]></title><description><![CDATA[<p>Laut MSDN müssten die Items ganz links erstellt werden. Also jeweils in der ersten Spalte. Und die Subitems sind dann die Einträge in den anderen Spalten.</p>
<p>Jedes Item ist der Kopf einer Zeile. Bei mir ist der Kopf jeder Zeile auf der rechten Seite.</p>
<p>Weis jmd. wie ich ihn auf die linke Seite bekommen.<br />
Das Problem ist: Man soll nur Köpfe markieren können und rechts ist unschön.</p>
<p>Kann mir j.d. helfen?</p>
<p>Ich bedanke mich im Voraus.</p>
<p>MfG. Tolga.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/860033</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/860033</guid><dc:creator><![CDATA[Tolga.]]></dc:creator><pubDate>Sun, 28 Aug 2005 12:22:35 GMT</pubDate></item><item><title><![CDATA[Reply to Item im ListView Control erscheint rechts. on Sun, 28 Aug 2005 12:26:22 GMT]]></title><description><![CDATA[<p>Zeig mal, wie du die Spalten erstellst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/860034</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/860034</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Sun, 28 Aug 2005 12:26:22 GMT</pubDate></item><item><title><![CDATA[Reply to Item im ListView Control erscheint rechts. on Sun, 28 Aug 2005 13:58:46 GMT]]></title><description><![CDATA[<p>MFK schrieb:</p>
<blockquote>
<p>Zeig mal, wie du die Spalten erstellst.</p>
</blockquote>
<pre><code class="language-cpp">typedef struct _LVCOLUMN { 
    UINT mask; 
    int fmt; 
    int cx; 
    LPTSTR pszText; 
    int cchTextMax; 
    int iSubItem; 
#if (_WIN32_IE &gt;= 0x0300)
    int iImage;
    int iOrder;
#endif
} LVCOLUMN, *LPLVCOLUMN; 

LVCOLUMN lvc;
lvc.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_ORDER;
lvc.cx = 90;
lvc.fmt = LVCFMT_LEFT;
lvc.pszText = TEXT(&quot;spalte1&quot;);
lvc.iOrder = 0;

SendMessage((HWND)hListView,(UINT)LVM_INSERTCOLUMN,(WPARAM)NULL,(LPARAM)&amp;lvc);

lvc.cx = 60;
lvc.pszText = TEXT(&quot;spalte2&quot;);
lvc.iOrder = 1;

SendMessage((HWND)hListView,(UINT)LVM_INSERTCOLUMN,(WPARAM)NULL,(LPARAM)&amp;lvc);

lvc.pszText = TEXT(&quot;spalte2&quot;);
lvc.iOrder = 2;

SendMessage((HWND)hListView,(UINT)LVM_INSERTCOLUMN,(WPARAM)NULL,(LPARAM)&amp;lvc);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/860097</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/860097</guid><dc:creator><![CDATA[Tolga.]]></dc:creator><pubDate>Sun, 28 Aug 2005 13:58:46 GMT</pubDate></item><item><title><![CDATA[Reply to Item im ListView Control erscheint rechts. on Sun, 28 Aug 2005 15:37:41 GMT]]></title><description><![CDATA[<p>Der WPARAM-Parameter bei LVM_INSERTCOLUMN ist der Spaltenindex, auf den kommt es an. Du übergibst immer 0, daher wird jede Spalte vor den bestehenden eingefügt. iSubItem zu setzen, wäre wohl auch noch sinnvoll.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/860152</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/860152</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Sun, 28 Aug 2005 15:37:41 GMT</pubDate></item><item><title><![CDATA[Reply to Item im ListView Control erscheint rechts. on Sun, 28 Aug 2005 16:33:05 GMT]]></title><description><![CDATA[<p>Danke, WPARAM hatte ich nie bedacht.<br />
Wenn man sich etwas zu sehr wünscht und ungeduldig ist wie ich, dann sieht man vor lauter Bäume den Wald nicht.</p>
<p>Weist du auch, wie man eine ganze Zeile markieren kann anstatt der Kopfitems?</p>
<p>MfG Tolga.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/860175</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/860175</guid><dc:creator><![CDATA[Tolga.]]></dc:creator><pubDate>Sun, 28 Aug 2005 16:33:05 GMT</pubDate></item><item><title><![CDATA[Reply to Item im ListView Control erscheint rechts. on Sun, 28 Aug 2005 17:21:52 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/listview/styles.asp#LVS_SHAREIMAGELISTS" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/listview/styles.asp#LVS_SHAREIMAGELISTS</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/860209</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/860209</guid><dc:creator><![CDATA[LVS_EX_FULLROWSELECT]]></dc:creator><pubDate>Sun, 28 Aug 2005 17:21:52 GMT</pubDate></item><item><title><![CDATA[Reply to Item im ListView Control erscheint rechts. on Sun, 28 Aug 2005 17:22:13 GMT]]></title><description><![CDATA[<p>Mit dem Extended Style LVS_EX_FULLROWSELECT kannst du das steuern.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/860210</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/860210</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Sun, 28 Aug 2005 17:22:13 GMT</pubDate></item></channel></rss>