<?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[Editieren in einer mehrspaltigen Listbox]]></title><description><![CDATA[<p>Wie kann man in einem mehrspaltigen Listview durch klicken einer beliebigen Spalte diese editieren. Diese listbox wird wie folgt erzeugt</p>
<pre><code class="language-cpp">hLstBox_01 = CreateWindowEx(WS_EX_CLIENTEDGE, WC_LISTVIEW, &quot;&quot;,WS_CHILD | WS_BORDER | WS_VISIBLE |WS_VSCROLL | LVS_REPORT | LVS_NOLABELWRAP |
                           LVS_SINGLESEL | LVS_ICON | LVS_EDITLABELS, 1,1,(MainXsize-10),(MainYsize-50)/*400*/, hWnd,NULL,hInst,0);
    //Spalte 1
    col.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM | LVCF_IMAGE;//LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM;
    col.fmt=LVCFMT_LEFT | LVCFMT_COL_HAS_IMAGES ;//LVCFMT_LEFT;
    col.pszText = (char*)&quot;logging&quot;;
    col.cx =(int)(MainXsize-10);
    col.iSubItem = 1;
    col.cchTextMax        = NORMSTRINGLEN;
    col.iImage            = -1;
    ListView_InsertColumn (hLstBox_01,1,&amp;col);
</code></pre>
<p>Oder falls es hiermit nicht sinnvoll geht, gibt es ähnliches Konstrukt mit dem das geht.</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/116097/editieren-in-einer-mehrspaltigen-listbox</link><generator>RSS for Node</generator><lastBuildDate>Fri, 03 Jul 2026 14:40:46 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/116097.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Jul 2005 19:02:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Editieren in einer mehrspaltigen Listbox on Fri, 22 Jul 2005 19:02:39 GMT]]></title><description><![CDATA[<p>Wie kann man in einem mehrspaltigen Listview durch klicken einer beliebigen Spalte diese editieren. Diese listbox wird wie folgt erzeugt</p>
<pre><code class="language-cpp">hLstBox_01 = CreateWindowEx(WS_EX_CLIENTEDGE, WC_LISTVIEW, &quot;&quot;,WS_CHILD | WS_BORDER | WS_VISIBLE |WS_VSCROLL | LVS_REPORT | LVS_NOLABELWRAP |
                           LVS_SINGLESEL | LVS_ICON | LVS_EDITLABELS, 1,1,(MainXsize-10),(MainYsize-50)/*400*/, hWnd,NULL,hInst,0);
    //Spalte 1
    col.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM | LVCF_IMAGE;//LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM;
    col.fmt=LVCFMT_LEFT | LVCFMT_COL_HAS_IMAGES ;//LVCFMT_LEFT;
    col.pszText = (char*)&quot;logging&quot;;
    col.cx =(int)(MainXsize-10);
    col.iSubItem = 1;
    col.cchTextMax        = NORMSTRINGLEN;
    col.iImage            = -1;
    ListView_InsertColumn (hLstBox_01,1,&amp;col);
</code></pre>
<p>Oder falls es hiermit nicht sinnvoll geht, gibt es ähnliches Konstrukt mit dem das geht.</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/836515</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/836515</guid><dc:creator><![CDATA[PAD]]></dc:creator><pubDate>Fri, 22 Jul 2005 19:02:39 GMT</pubDate></item><item><title><![CDATA[Reply to Editieren in einer mehrspaltigen Listbox on Wed, 27 Jul 2005 21:22:52 GMT]]></title><description><![CDATA[<p>Mit Bordmitteln ( sprich Standard-Listview Ctrl ) wird das nichts werden. Hier kannst Du nur die erste Spalte editierbar machen ( im Reportview ).</p>
<p>Normalerweise würdest du den Click auf ein Datum in einer anderen Spalte abfangen, ein Editcontrol an der entsprechenden Stelle erstellen und hiermit editieren.</p>
<p>Ich glaube ich habe bei Codeguru mal ein paar solcher Controls gesehen, die das können. AFAIK heisst es Supergrid. Allerdings mit MFC, sollte sich aber auch ohne Klassen umschreiben lassen ( wenns der Autor gestattet ).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/840410</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/840410</guid><dc:creator><![CDATA[tvdog]]></dc:creator><pubDate>Wed, 27 Jul 2005 21:22:52 GMT</pubDate></item><item><title><![CDATA[Reply to Editieren in einer mehrspaltigen Listbox on Wed, 27 Jul 2005 21:39:05 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>bei <a href="http://www.codeproject.com" rel="nofollow">codeProject</a> gibt es auch pure winApi Grid Controls, wie z. B. das <a href="http://www.codeproject.com/miscctrl/DataGridControl.asp" rel="nofollow">DataGrid</a>. das sollte auch editieren können ....</p>
<p>MfG</p>
<p>Anakin</p>
]]></description><link>https://www.c-plusplus.net/forum/post/840424</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/840424</guid><dc:creator><![CDATA[Anakin Skywalker]]></dc:creator><pubDate>Wed, 27 Jul 2005 21:39:05 GMT</pubDate></item></channel></rss>