<?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[CheckBox ansteueren]]></title><description><![CDATA[<p>Hallo,<br />
kann mir jemand ein Beispiel zeigen, wie man eine CheckBox ansteuert?<br />
Besten Dank!<br />
daMike</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/149679/checkbox-ansteueren</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 03:40:05 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/149679.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Jun 2006 11:11:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CheckBox ansteueren on Thu, 08 Jun 2006 11:11:29 GMT]]></title><description><![CDATA[<p>Hallo,<br />
kann mir jemand ein Beispiel zeigen, wie man eine CheckBox ansteuert?<br />
Besten Dank!<br />
daMike</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1073768</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073768</guid><dc:creator><![CDATA[daMike]]></dc:creator><pubDate>Thu, 08 Jun 2006 11:11:29 GMT</pubDate></item><item><title><![CDATA[Reply to CheckBox ansteueren on Thu, 08 Jun 2006 11:24:39 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">m_chkBox-&gt;SetCheck(BST_CHECKED);
</code></pre>
<p>???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1073780</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073780</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 08 Jun 2006 11:24:39 GMT</pubDate></item><item><title><![CDATA[Reply to CheckBox ansteueren on Thu, 08 Jun 2006 11:26:21 GMT]]></title><description><![CDATA[<p>Kommt immer ein bisschen drauf an was du meinst.<br />
End-User-Lösung: Mauscursor drüber und click.<br />
Formular-Coder-Lösung: Eine Variable im Formulareditr hinzufügen, die mit der CB verknüpft ist (bool), ist sie nach UpdateData() auf true, ist der Haken gesetzt.<br />
Für alle anderen Methoden, das Teil anzusteuern (deaktivieren etc.): Control erstellen, in der MSDN schauen was die Klasse kann.</p>
<p>enjoy!<br />
/me</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1073781</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073781</guid><dc:creator><![CDATA[das_brot]]></dc:creator><pubDate>Thu, 08 Jun 2006 11:26:21 GMT</pubDate></item><item><title><![CDATA[Reply to CheckBox ansteueren on Thu, 08 Jun 2006 11:35:24 GMT]]></title><description><![CDATA[<p>Habe es wie folgt mal probiert ..</p>
<pre><code>CButton *z_SV;
z_SV=(CButton *)GetDlgItem(IDC_SVE_1);  
z_SV-&gt;SetCheck(1);
</code></pre>
<p>Diese Methode habe ich bei der Initialisierung verwendet, wo es auch funktioniert! Wenn ich diese Methode in einer Funktion verwende, um die CheckBox auf meinem Dialog ON/OFF zu schalten, meckert er rum, weil GetDlgItem zwei Parameter braucht?!?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1073787</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073787</guid><dc:creator><![CDATA[daMike]]></dc:creator><pubDate>Thu, 08 Jun 2006 11:35:24 GMT</pubDate></item><item><title><![CDATA[Reply to CheckBox ansteueren on Thu, 08 Jun 2006 17:39:22 GMT]]></title><description><![CDATA[<p>als ersten Parameter musst du noch das Handle deiner Applikation angeben.<br />
Schau doch mal selbst in die MSDN, da stehen so einige interessante Dinge drin!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1074041</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1074041</guid><dc:creator><![CDATA[das_brot]]></dc:creator><pubDate>Thu, 08 Jun 2006 17:39:22 GMT</pubDate></item><item><title><![CDATA[Reply to CheckBox ansteueren on Fri, 09 Jun 2006 06:43:44 GMT]]></title><description><![CDATA[<p>Habe ich im MSDN auch gelesen, nur ist mir (als C++ Laie) nicht ganz klar, wie man den Handle benützt! Kann ich ihn als Übergabeparameter meiner Funktion übergeben? Woher kriege ich den Handle <em><em>HWND</em> phWnd</em>* für meinen Dialog?</p>
<blockquote>
<p>void CWnd::GetDlgItem( int nID, HWND* phWnd ) const;</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1074305</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1074305</guid><dc:creator><![CDATA[daMike]]></dc:creator><pubDate>Fri, 09 Jun 2006 06:43:44 GMT</pubDate></item><item><title><![CDATA[Reply to CheckBox ansteueren on Fri, 09 Jun 2006 14:28:45 GMT]]></title><description><![CDATA[<p>Na solange es der mein DLG ist es immer noch AfxGetMainWnd bzw. einfach innerhalb der Dlg klasse m_hWnd...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1074652</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1074652</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Fri, 09 Jun 2006 14:28:45 GMT</pubDate></item></channel></rss>