<?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[CListCtrl subitems editieren?]]></title><description><![CDATA[<p>Hallo Forum,<br />
ich weis diese Frage war schon oft, aber es muß nochmal sein, ich würde gerne<br />
die SubItems von CListCtrl editieren, dazu wollte ich einfach ein CEdit über<br />
die betroffene Column legen und dort den neuen Inhalt reinschreiben beim focusverlust oder bei enter<br />
soll dann der eingetragene Text übernommen werden! Das aktuallisieren der SubItems ist kein Problem, nur das anzeigen des CEdit Feldes klappt nicht so richtig,<br />
es wird immer 2-3 Pixel links und über der Position angezeigt wo ich mit der Maus<br />
geklickt habe!</p>
<p>Hat da jemand schon was in der Richtung gemcht, ich möchte auf die ganzen aufwendigen CListCtrl's von codeproject verzichten, ich benutze schon<br />
ein CSortListCtrl von codepr.</p>
<p>LG<br />
pixel</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/155170/clistctrl-subitems-editieren</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Jul 2026 00:20:52 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/155170.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Aug 2006 10:26:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CListCtrl subitems editieren? on Thu, 03 Aug 2006 10:26:22 GMT]]></title><description><![CDATA[<p>Hallo Forum,<br />
ich weis diese Frage war schon oft, aber es muß nochmal sein, ich würde gerne<br />
die SubItems von CListCtrl editieren, dazu wollte ich einfach ein CEdit über<br />
die betroffene Column legen und dort den neuen Inhalt reinschreiben beim focusverlust oder bei enter<br />
soll dann der eingetragene Text übernommen werden! Das aktuallisieren der SubItems ist kein Problem, nur das anzeigen des CEdit Feldes klappt nicht so richtig,<br />
es wird immer 2-3 Pixel links und über der Position angezeigt wo ich mit der Maus<br />
geklickt habe!</p>
<p>Hat da jemand schon was in der Richtung gemcht, ich möchte auf die ganzen aufwendigen CListCtrl's von codeproject verzichten, ich benutze schon<br />
ein CSortListCtrl von codepr.</p>
<p>LG<br />
pixel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1109776</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1109776</guid><dc:creator><![CDATA[pixel]]></dc:creator><pubDate>Thu, 03 Aug 2006 10:26:22 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl subitems editieren? on Thu, 03 Aug 2006 11:17:59 GMT]]></title><description><![CDATA[<p>Noch nie benutzt, aber ich bin mal in der MSDN drüber gestolpert. Womöglich kann dir folgender Style helfen: LVS_EDITLABELS</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1109812</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1109812</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Thu, 03 Aug 2006 11:17:59 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl subitems editieren? on Thu, 03 Aug 2006 13:49:17 GMT]]></title><description><![CDATA[<p>Hallo Dravere,<br />
leider funct der Flag nicht, es wäre zu schön :D, ich dachte dann an :</p>
<pre><code class="language-cpp">// aus der MSDN, 
// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;
// The pointer where the mouse was clicked.
extern CPoint myPoint;

LVHITTESTINFO lvhti;

// Clear the subitem text the user clicked on.
lvhti.pt = myPoint;
pmyListCtrl-&gt;SubItemHitTest(&amp;lvhti);

if (lvhti.flags &amp; LVHT_ONITEMLABEL)
{
   pmyListCtrl-&gt;SetItemText(lvhti.iItem, lvhti.iSubItem, NULL);
}
</code></pre>
<p>diesen Teil hab ich in OnClick(NMHDR* pNMHDR, LRESULT* pResult) gesetzt,<br />
leider kommt mein Programm nie in den if-Teil!</p>
<p>lg<br />
pixel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1109956</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1109956</guid><dc:creator><![CDATA[pixel]]></dc:creator><pubDate>Thu, 03 Aug 2006 13:49:17 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl subitems editieren? on Fri, 04 Aug 2006 11:00:07 GMT]]></title><description><![CDATA[<p>...hab Dich wohl missverstanden...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1110473</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110473</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Fri, 04 Aug 2006 11:00:07 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl subitems editieren? on Fri, 04 Aug 2006 11:12:28 GMT]]></title><description><![CDATA[<p><a href="http://www.codeguru.com" rel="nofollow">www.codeguru.com</a> gibt es ne schöne einfache Lösung... <a href="http://www.codeproject.com" rel="nofollow">www.codeproject.com</a> hat auch welche <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/1110482</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110482</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Fri, 04 Aug 2006 11:12:28 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl subitems editieren? on Fri, 04 Aug 2006 11:57:59 GMT]]></title><description><![CDATA[<p>Hallo,<br />
hab mich für ein Beispiel von :<br />
[url]<br />
<a href="http://www.codeguru.com/cpp/controls/listview/editingitemsandsubitem/article.php/c923/" rel="nofollow">http://www.codeguru.com/cpp/controls/listview/editingitemsandsubitem/article.php/c923/</a><br />
[/url]<br />
entschieden, ist auf CListCtrl gemacht und einfach zu inplementieren, alle anderen sind auf nichtdialogbasierte Anwendungen gemacht!</p>
<p>nur, wenn ich den inhalt eines subitems geändert habe, wird er nicht übernommen, al s neuer wert, sondern der vorherige wird wieder zurück geholt?! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>lg<br />
pixel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1110510</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110510</guid><dc:creator><![CDATA[pixel]]></dc:creator><pubDate>Fri, 04 Aug 2006 11:57:59 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl subitems editieren? on Sat, 05 Aug 2006 10:52:57 GMT]]></title><description><![CDATA[<p>des kann net... da hast de veregessen, wenn das edit verlassen woird wieder setitemtext aufzurufen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1110973</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110973</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Sat, 05 Aug 2006 10:52:57 GMT</pubDate></item></channel></rss>