<?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 geht nicht...]]></title><description><![CDATA[<p>Ich habe Folgendes Problem:</p>
<p>Ich möchte eine Liste erstellen, die 2 Spalten hat. Dazu nehm ich mir die ListBox und geb der die Variable</p>
<pre><code class="language-cpp">CListCtrl m_list1;
</code></pre>
<p>dann führe ich im OnInitDoalog() folgenden code aus (hab ich aus codeguru und hier im FAQ)</p>
<pre><code class="language-cpp">m_list1.SetBkColor(RGB(76,85,118));
	m_list1.SetTextColor(RGB(222,222,222));

	m_list1.InsertColumn(0,&quot;SPALTE1&quot;, LVCFMT_LEFT, 100);
	m_list1.InsertColumn(1,&quot;SPALTE2&quot;, LVCFMT_LEFT, 100);

	m_list1.SetItemText(0, 0, &quot;Test&quot;);
	m_list1.SetItemText(0, 1, &quot;123&quot;);
</code></pre>
<p>nun ist mein Problem, dass egal was ich tue die Liste weder einen eintrag noch die Spalten generiert. Woren liegt das???</p>
<p>Danke<br />
Uruk</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/162200/clistctrl-geht-nicht</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Jul 2026 22:58:09 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/162200.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Oct 2006 09:46:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 09:46:44 GMT]]></title><description><![CDATA[<p>Ich habe Folgendes Problem:</p>
<p>Ich möchte eine Liste erstellen, die 2 Spalten hat. Dazu nehm ich mir die ListBox und geb der die Variable</p>
<pre><code class="language-cpp">CListCtrl m_list1;
</code></pre>
<p>dann führe ich im OnInitDoalog() folgenden code aus (hab ich aus codeguru und hier im FAQ)</p>
<pre><code class="language-cpp">m_list1.SetBkColor(RGB(76,85,118));
	m_list1.SetTextColor(RGB(222,222,222));

	m_list1.InsertColumn(0,&quot;SPALTE1&quot;, LVCFMT_LEFT, 100);
	m_list1.InsertColumn(1,&quot;SPALTE2&quot;, LVCFMT_LEFT, 100);

	m_list1.SetItemText(0, 0, &quot;Test&quot;);
	m_list1.SetItemText(0, 1, &quot;123&quot;);
</code></pre>
<p>nun ist mein Problem, dass egal was ich tue die Liste weder einen eintrag noch die Spalten generiert. Woren liegt das???</p>
<p>Danke<br />
Uruk</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155547</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155547</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Mon, 16 Oct 2006 09:46:44 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 09:52:34 GMT]]></title><description><![CDATA[<p>Hast du den Eintrag in der DoDataExchange?<br />
Sowas:</p>
<pre><code class="language-cpp">DDX_Control(pDX, IDC_LIST1, m_list1);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1155555</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155555</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Mon, 16 Oct 2006 09:52:34 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 09:58:15 GMT]]></title><description><![CDATA[<p>Hi,<br />
Ich denke ma, daß es an SetBkColor() und SetTextColor() liegt. Ich bezweifle, daß das bei einem Listen-Control so einfach geht. Es sind geerbte Elemente der Fensterklasse, die aber hier nicht funktionieren. Der restliche Code sollte eigentlich funktionieren...Ich habe keine Möglichkeit den Code zu testen. Probiere es nochmal, ohne die genannten Funktionen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155560</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155560</guid><dc:creator><![CDATA[RR]]></dc:creator><pubDate>Mon, 16 Oct 2006 09:58:15 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 09:58:29 GMT]]></title><description><![CDATA[<p>jup den hab ich...</p>
<p>Ach ja vergessen, ist ne MFC-Anwendung, falls das relevant sein sollte</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155561</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155561</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Mon, 16 Oct 2006 09:58:29 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 10:08:54 GMT]]></title><description><![CDATA[<p>Ich hab die beiden funktionen rausgenommen und es passiert trotzdem nicht, als dass die Liste leer ist. Weder Die Splante noch der eine Eintrag ist zu sehen.. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155570</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155570</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:08:54 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 10:15:18 GMT]]></title><description><![CDATA[<p>Musste man da nicht noch in den Eigenschaften -&gt; Formate -&gt; Ansicht auf &quot;Bericht&quot; umstellen ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155573</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155573</guid><dc:creator><![CDATA[isabeau]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:15:18 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 10:16:03 GMT]]></title><description><![CDATA[<p>...Jetzt ma eine &quot;dumme&quot; Frage...hast Du die Liste mit einer ListViewRessource verbunden, oder einfach nur eine CListCtrl deklariert?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155575</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155575</guid><dc:creator><![CDATA[RR]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:16:03 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 10:25:20 GMT]]></title><description><![CDATA[<p>ich und dumme fragen <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>
<p>@ isabeau<br />
nein also ich hab da noch nichts umgestellt. HAb leider die englische version und tu mich da gerade schwer mit finden <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>@ RR<br />
????<br />
Ich hab halt nur die Variable deklariert. Steht ja nirgends, dass ich das noch mit was verbinden muss, jedenfalls nicht in den Hilfen die ich habe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155576</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155576</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:25:20 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 10:29:59 GMT]]></title><description><![CDATA[<p>...ja da liegt der Hund begraben, eine ListViewKlasse muß mit einer ListViewRessource verbunden werden...In Visual C++ geht das ganz einfach...rufe den Klassenassistenten auf und verbinde mit der Ressourcen-ID eine Klassenvariable...dies gehört zu den grundlegenden Arbeitsweisen...sieh in der Begleithilfe nach</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155578</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155578</guid><dc:creator><![CDATA[RR]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:29:59 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 10:44:28 GMT]]></title><description><![CDATA[<p>hmm ich hab in meinen Recource Symbolen mal nachgeschaut und da steht mein Listenfeld drin...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155590</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155590</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:44:28 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 10:46:05 GMT]]></title><description><![CDATA[<p>RR schrieb:</p>
<blockquote>
<p>...Jetzt ma eine &quot;dumme&quot; Frage...hast Du die Liste mit einer ListViewRessource verbunden, oder einfach nur eine CListCtrl deklariert?</p>
</blockquote>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/27a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--right_arrow"
      title=":arrow_right:"
      alt="➡"
    /></p>
<p>estartu schrieb:</p>
<blockquote>
<p>Hast du den Eintrag in der DoDataExchange?<br />
Sowas:</p>
<pre><code class="language-cpp">DDX_Control(pDX, IDC_LIST1, m_list1);
</code></pre>
</blockquote>
<p>Uruk-h4j schrieb:</p>
<blockquote>
<p>jup den hab ich...</p>
</blockquote>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
<p>Uruk, in welcher Funktion steht der Code?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155591</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155591</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:46:05 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 10:51:03 GMT]]></title><description><![CDATA[<p>Also der Code steht im OnInitDialog()<br />
dieses DDX-Control(...) steht auch da wos stehen soll<br />
und die ResourcenID ist auch vergeben.</p>
<p>Allerdings das mit dem style hab ich noch net gerafft. Muss ich das nun einstellen und wenn ja, wo?? (in der englischen vs2005)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155592</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155592</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:51:03 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 10:51:34 GMT]]></title><description><![CDATA[<p>...ja, VC legt standardmäßig natürlich eine Ressourcen-ID für die Liste an, die muß aber mit der ListenKlasse verbunden werden, dies geschieht über den Klassenassistend. Ich vermute ma, daß Du noch ein Anfänger in der MFC-Programmierung bist...wie gesagt, hierbei handelt es sich um eine elementare Arbeitsweise...Woher &quot;weiß&quot; den sonst die Klasse, welche Ressource die bedienen soll <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155595</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155595</guid><dc:creator><![CDATA[RR]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:51:34 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 10:53:53 GMT]]></title><description><![CDATA[<p>Das klingt alles so weit richtig. <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="😕"
    /><br />
Außer &quot;Erstellen&quot; -&gt; &quot;Alles neu erstellen&quot; fällt mir da nix mehr ein.</p>
<p>PS: Schau mal in die Properties von dem Listctrl und such da nach was mit Report, in irgendeiner Klappliste muss das sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155597</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155597</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:53:53 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 10:52:24 GMT]]></title><description><![CDATA[<p>Welchen Modus hat Dein ListCtrl im Resóurce Editor. Es muss &quot;Report-Mode&quot; sein, sonst geht es nicht mit Spalten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155598</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155598</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:52:24 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 10:59:11 GMT]]></title><description><![CDATA[<p>Also in &quot;Meinem&quot; Recourcen Editor&quot; kann ich nix mit Report-Mode einstellen. Da ist nur Die ID, Value und Use drin und ich kann außer dem Namen nichts ändern. Ich hab das Gefühl ich bin zu blöd oder wir reden von verschiendenen dingen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155606</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155606</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Mon, 16 Oct 2006 10:59:11 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 11:00:18 GMT]]></title><description><![CDATA[<p>Mach mal ein Foto von dem, wo du gerade geguckt hast.<br />
...du redest aber nicht von VC2005 EXPRESS, oder? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155607</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155607</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Mon, 16 Oct 2006 11:00:18 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 11:02:35 GMT]]></title><description><![CDATA[<p>...oh, entschuldigung, ich sehe grade das das nicht zutrifft, hätte besser aufpassen sollen...Dann liegt es wohl am Style, das kann im Ressourcen-Editor unter Eigenschaften eingestellt werden, oder im Ressoucen-Quellentext mit LVS_REPORT <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/1155608</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155608</guid><dc:creator><![CDATA[RR]]></dc:creator><pubDate>Mon, 16 Oct 2006 11:02:35 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 11:05:55 GMT]]></title><description><![CDATA[<p>hab leider keine möglichkeit das bild irgendwo hochzuladen. Und nein ich hab nicht die express...ist die große version</p>
<p>Aber ich dann dir beschrieben, wie ich hingekommen bin.<br />
Bei Resourcen auf den dialog und ResourcenIDs.</p>
<p>Wie gesagt hab die Englische 2005 <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>UND DIESEN SCH*** RESOURCENEDITOR find ich net <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f622.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--crying_face"
      title=":'("
      alt="😢"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155610</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155610</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Mon, 16 Oct 2006 11:05:55 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 11:12:45 GMT]]></title><description><![CDATA[<p>Uruk-h4j schrieb:</p>
<blockquote>
<p>hab leider keine möglichkeit das bild irgendwo hochzuladen.</p>
</blockquote>
<p><a href="http://tinypic.com" rel="nofollow">tinypic.com</a> <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>
<p>Ich hab hier nur die 2003er, mal schaun wie weit das übertragbar ist.<br />
Ahhh, ich weiß wo du dich verlaufen hast... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /><br />
So versuch mal:<br />
Bei Resourcen auf den dialog und den doppelklicken -&gt; die Resource wird angezeigt, das ist der Resourceeditor.<br />
Nun rechte Maustaste auf das Listcontrol, da Properties wählen -&gt; Eigenschaftenfenster wird eingeblendet bzw. aktiv.</p>
<p>Da der ganz oberste Tabelleneintrag ist bei mir Ansicht, im Englischen vermutlich View. und da musst du Report wählen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155619</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155619</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Mon, 16 Oct 2006 11:12:45 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 11:12:48 GMT]]></title><description><![CDATA[<p>Ich vermisse hier das</p>
<pre><code class="language-cpp">liste.InsertItem(i,&quot;text);
</code></pre>
<p>Oder habe ich den Quelltext übersehen? Was nutzt das SetText, ohne das Einfügen von Zeilen?</p>
<p>Tester2</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155620</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155620</guid><dc:creator><![CDATA[Tester2]]></dc:creator><pubDate>Mon, 16 Oct 2006 11:12:48 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 11:21:34 GMT]]></title><description><![CDATA[<p>@ estartu:</p>
<p>Ich bin den weg nach deiner beschreubung gegangen, aber da ist nichts mit View oder LVS_REPORT zum auswählen (leider) Aber wenigstens weiß ich jetzt was ihr mit resourceneditor meintet <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>
<p>Ich versuch mal nach &quot;style&quot; zu suchen vielleicht find ich ja irgendwas in irgendeinem Quelltext im Projekt....hoffentlich mach ich nichts kaputt...</p>
<p>@Tester2.</p>
<p>Ich hab das mit InsertItem() versucht und auch mit allen anderen Inserts die ich gesucht hab.</p>
<pre><code class="language-cpp">m_list1.InsertColumn(0,&quot;SPALTE1&quot;, LVCFMT_LEFT, 100);
	m_list1.InsertColumn(1,&quot;SPALTE2&quot;, LVCFMT_LEFT, 100);

	m_list1.InsertItem(0, &quot;Test&quot;);
	m_list1.InsertItem(1, &quot;123&quot;);

	//m_list1.SetItemText(0, 0, &quot;Test&quot;);
	//m_list1.SetItemText(0, 1, &quot;123&quot;);
</code></pre>
<p>hab beides probiert und nichts geht...aber ich hab ja schon rausgefunden, dass ich den style irgendweo ändern muss...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155629</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155629</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Mon, 16 Oct 2006 11:21:34 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 11:23:04 GMT]]></title><description><![CDATA[<p>hab was mit Style gefunden:</p>
<pre><code class="language-cpp">IDD_LISTCONTROLL_DIALOG DIALOGEX 0, 0, 320, 200
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION &quot;List-Controll&quot;
FONT 8, &quot;MS Shell Dlg&quot;, 0, 0, 0x1
BEGIN
    LISTBOX         IDC_LIST1,25,30,259,64,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
END
</code></pre>
<p>in der Datei &lt;Projekt&gt;.rc...ist das da richtig?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155631</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155631</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Mon, 16 Oct 2006 11:23:04 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 11:29:01 GMT]]></title><description><![CDATA[<p>...es gibt auch noch die Möglichkeit die Listeneigenschaft zur Laufzeit zu ändern:</p>
<pre><code class="language-cpp">long lStyle = m_list.GetWindowLong(GWL_STYLE);
m_list.SetWindowLong(GWL_STYLE,lStyle|LVS_REPORT);
</code></pre>
<p>das in InitDialog() aufgerufen müßte funzen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155637</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155637</guid><dc:creator><![CDATA[RR]]></dc:creator><pubDate>Mon, 16 Oct 2006 11:29:01 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 11:32:35 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">GetWindowLong()
</code></pre>
<p>und</p>
<pre><code class="language-cpp">SetWindowLong()
</code></pre>
<p>sind nicht bestandteil von</p>
<pre><code class="language-cpp">CListCtrl
</code></pre>
<p>sagt mir der Compiler....</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155638</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155638</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Mon, 16 Oct 2006 11:32:35 GMT</pubDate></item><item><title><![CDATA[Reply to CListCtrl geht nicht... on Mon, 16 Oct 2006 11:33:27 GMT]]></title><description><![CDATA[<p>...kein Problem</p>
<pre><code class="language-cpp">long lStyle = ::GetWindowLong(m_list.GetSafeHwnd(),GWL_STYLE);
::SetWindowLong(m_list.GetSafeHwnd(),GWl_STYLE,lStyle|LVS_REPORT);
</code></pre>
<p>dat, funzt jeza aber, oda?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1155640</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1155640</guid><dc:creator><![CDATA[RR]]></dc:creator><pubDate>Mon, 16 Oct 2006 11:33:27 GMT</pubDate></item></channel></rss>