<?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[Controls mit Create erstellen - Checkliste?]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich muss meine Controls mit Create erstellen. Wenn ich nun aber über die Membervariablen darauf zugreifen will, wird mir mitgeteilt, dass es noch kein Fenster dazu gibt.</p>
<p>Was muss man alles machen, damit das klappt?</p>
<p>Eigentlich müßte das hier doch reichen:</p>
<pre><code class="language-cpp">CRect rect(5,5,245,295);
	m_lscOrte.Create(WS_VISIBLE | WS_CHILD | WS_BORDER | LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOLABELWRAP, rect, this, IDC_LSC_ORTE);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/78428/controls-mit-create-erstellen-checkliste</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 20:22:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/78428.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Jul 2004 12:31:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Controls mit Create erstellen - Checkliste? on Thu, 01 Jul 2004 12:31:35 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich muss meine Controls mit Create erstellen. Wenn ich nun aber über die Membervariablen darauf zugreifen will, wird mir mitgeteilt, dass es noch kein Fenster dazu gibt.</p>
<p>Was muss man alles machen, damit das klappt?</p>
<p>Eigentlich müßte das hier doch reichen:</p>
<pre><code class="language-cpp">CRect rect(5,5,245,295);
	m_lscOrte.Create(WS_VISIBLE | WS_CHILD | WS_BORDER | LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOLABELWRAP, rect, this, IDC_LSC_ORTE);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/550911</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/550911</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Thu, 01 Jul 2004 12:31:35 GMT</pubDate></item><item><title><![CDATA[Reply to Controls mit Create erstellen - Checkliste? on Thu, 01 Jul 2004 18:05:13 GMT]]></title><description><![CDATA[<p>Rückgabewert von Create geprüft?<br />
::IsWindow(m_lc.m_hWnd) gibt nach dem Create true zurück?<br />
&quot;Zugriff&quot; erfolgt nach dem Create, und vor dem Destroy/Destruktor?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/551193</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551193</guid><dc:creator><![CDATA[peterchen]]></dc:creator><pubDate>Thu, 01 Jul 2004 18:05:13 GMT</pubDate></item><item><title><![CDATA[Reply to Controls mit Create erstellen - Checkliste? on Thu, 01 Jul 2004 18:40:55 GMT]]></title><description><![CDATA[<p>Poste mal, in welcher Funktion du darauf zugreifst und wie. So ist der Code nämlich richtg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/551243</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551243</guid><dc:creator><![CDATA[mkcore]]></dc:creator><pubDate>Thu, 01 Jul 2004 18:40:55 GMT</pubDate></item><item><title><![CDATA[Reply to Controls mit Create erstellen - Checkliste? on Fri, 02 Jul 2004 08:27:49 GMT]]></title><description><![CDATA[<p>Mein Kollege (der, der die Library entwickelt hat die ich nutze) hat das Problem gefunden und behoben.<br />
Aus einem Grund, der mit ziemlicher Sicherheit in seinem Quelltext liegt kann ich meine Membervariablen nicht mehr nutzen sondern muss auf eine teils vorteilhafte aber kryptische Methode von ihm umsteigen.</p>
<p>Aber vielleicht gibt es doch einen Ausweg:</p>
<p>Create gibt 1 zurück.<br />
Und dieser Assert bleibt still:</p>
<pre><code class="language-cpp">ASSERT(::IsWindow(m_lscOrte.m_hWnd));
</code></pre>
<p>Ich versuche das in OnInitialUpdate zu nutzen. Für De-Aktivieren und sowas, also EnableWindow.</p>
<p>Danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/551498</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/551498</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Fri, 02 Jul 2004 08:27:49 GMT</pubDate></item></channel></rss>