<?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[Wert von RadioButton abfragen]]></title><description><![CDATA[<p>Tach</p>
<pre><code class="language-cpp">hwndRB1 = CreateWindow(&quot;BUTTON&quot;, &quot;OPT1&quot;,  BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 110, 150, 20, hwnd, (HMENU)600, (HINSTANCE) GetWindowLong (hwndWndOpt, GWL_HINSTANCE), NULL);
</code></pre>
<p>wie kann ich Prüfen, ob &quot;hwndRB1&quot; aktiviert ist, oder nicht??</p>
<pre><code class="language-cpp">GetDlgItem(hwndRB1, /*???*/)
</code></pre>
<p>Ist das so vom Ansatz richtig?? und Was muss ich bei den ??? einsetzten??<br />
Und welchern wert bekomme ich?? (TRUE/FALSE)??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/84864/wert-von-radiobutton-abfragen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 03:34:04 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/84864.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Sep 2004 06:48:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 06:48:13 GMT]]></title><description><![CDATA[<p>Tach</p>
<pre><code class="language-cpp">hwndRB1 = CreateWindow(&quot;BUTTON&quot;, &quot;OPT1&quot;,  BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 110, 150, 20, hwnd, (HMENU)600, (HINSTANCE) GetWindowLong (hwndWndOpt, GWL_HINSTANCE), NULL);
</code></pre>
<p>wie kann ich Prüfen, ob &quot;hwndRB1&quot; aktiviert ist, oder nicht??</p>
<pre><code class="language-cpp">GetDlgItem(hwndRB1, /*???*/)
</code></pre>
<p>Ist das so vom Ansatz richtig?? und Was muss ich bei den ??? einsetzten??<br />
Und welchern wert bekomme ich?? (TRUE/FALSE)??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/598422</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598422</guid><dc:creator><![CDATA[RedEagle]]></dc:creator><pubDate>Fri, 03 Sep 2004 06:48:13 GMT</pubDate></item><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 06:54:04 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/buttons/buttonreference/buttonfunctions/isdlgbuttonchecked.asp" rel="nofollow">IsDlgButtonChecked</a> oder direkt BM_GETCHECK senden <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/598428</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598428</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Fri, 03 Sep 2004 06:54:04 GMT</pubDate></item><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 07:04:52 GMT]]></title><description><![CDATA[<p>Ich habe es zwar ncoh nihct getestet, aber es wird wohl funktionieren <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="😉"
    /><br />
DANKE</p>
<p>ps.: was wird zurückgegeben??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/598436</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598436</guid><dc:creator><![CDATA[RedEagle]]></dc:creator><pubDate>Fri, 03 Sep 2004 07:04:52 GMT</pubDate></item><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 07:08:56 GMT]]></title><description><![CDATA[<p>Steht doch alles in der MSDN.</p>
<p>Den Link hat flenders Dir nun direkt gepostet, was erwartest Du mehr? Sollen wir Dir das nun auch noch vorlesen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/598442</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598442</guid><dc:creator><![CDATA[Hepi]]></dc:creator><pubDate>Fri, 03 Sep 2004 07:08:56 GMT</pubDate></item><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 07:16:08 GMT]]></title><description><![CDATA[<p>ich benutze die andere methode:<br />
GetDlgItem(hwndRB1, BM_GETCHECK);</p>
]]></description><link>https://www.c-plusplus.net/forum/post/598451</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598451</guid><dc:creator><![CDATA[RedEagle]]></dc:creator><pubDate>Fri, 03 Sep 2004 07:16:08 GMT</pubDate></item><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 07:21:23 GMT]]></title><description><![CDATA[<p>..und was bezweckst Du damit?<br />
Den Status abfragen kannst Du damit auf jeden Fall nicht...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/598456</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598456</guid><dc:creator><![CDATA[Hepi]]></dc:creator><pubDate>Fri, 03 Sep 2004 07:21:23 GMT</pubDate></item><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 07:28:39 GMT]]></title><description><![CDATA[<p>flenders schrieb:</p>
<blockquote>
<p><a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/buttons/buttonreference/buttonfunctions/isdlgbuttonchecked.asp" rel="nofollow">IsDlgButtonChecked</a> <strong>oder direkt BM_GETCHECK</strong> senden <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>
</blockquote>
<p>warum geht das denn dann nicht??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/598461</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598461</guid><dc:creator><![CDATA[RedEagle]]></dc:creator><pubDate>Fri, 03 Sep 2004 07:28:39 GMT</pubDate></item><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 07:31:44 GMT]]></title><description><![CDATA[<p>Du sollst die MESSAGE BM_GETCHECK SENDEN.</p>
<p>Zum SENDEN von MESSAGES würde ich mal SendMessage benutzen...</p>
<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/buttons/buttonreference/buttonmessages/bm_getcheck.asp" rel="nofollow">BM_GETCHECK</a></p>
<p><a href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/messagesandmessagequeues/messagesandmessagequeuesreference/messagesandmessagequeuesfunctions/sendmessage.asp" rel="nofollow">SendMessage</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/598470</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598470</guid><dc:creator><![CDATA[Hepi]]></dc:creator><pubDate>Fri, 03 Sep 2004 07:31:44 GMT</pubDate></item><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 07:37:51 GMT]]></title><description><![CDATA[<p>Also:</p>
<pre><code class="language-cpp">SendMessage(hwndRB1, BM_GETCHECK, 0, 0);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/598476</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598476</guid><dc:creator><![CDATA[RedEagle]]></dc:creator><pubDate>Fri, 03 Sep 2004 07:37:51 GMT</pubDate></item><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 07:51:26 GMT]]></title><description><![CDATA[<p>Wenn Dich das Ergebnis noch interessiert, solltest Du</p>
<pre><code class="language-cpp">LRESULT RadioButtonStatus = 0;
RadioButtonStatus = SendMessage(hwndRB1, BM_GETCHECK, 0, 0);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/598482</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598482</guid><dc:creator><![CDATA[Hepi]]></dc:creator><pubDate>Fri, 03 Sep 2004 07:51:26 GMT</pubDate></item><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 07:49:04 GMT]]></title><description><![CDATA[<p>Das ist mir schon klar, so blöd bin ich auch nicht</p>
<p>Mal ein bespiel von der Hilfsbereitschaft in anderen Foren:<br />
<a href="http://www.fun-soft.de/showtopic.php?threadid=8721&amp;time=1094193227" rel="nofollow">http://www.fun-soft.de/showtopic.php?threadid=8721&amp;time=1094193227</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/598484</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598484</guid><dc:creator><![CDATA[RedEagle]]></dc:creator><pubDate>Fri, 03 Sep 2004 07:49:04 GMT</pubDate></item><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 07:52:17 GMT]]></title><description><![CDATA[<p>Ach Du willst das andere Dir dein Programm zusammenschreiben?</p>
<p>Sag das doch gleich... ich wußte nicht das Du ein reiner Copy&amp;Paster bist...</p>
<p>Entschuldige das ich Dir nicht sofort funktionsfähige Codeschnipsel geliefert habe, entschuldige das ich etwas Eigeninitiative deinerseits vorausgesetzt habe... <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>
]]></description><link>https://www.c-plusplus.net/forum/post/598488</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598488</guid><dc:creator><![CDATA[Hepi]]></dc:creator><pubDate>Fri, 03 Sep 2004 07:52:17 GMT</pubDate></item><item><title><![CDATA[Reply to Wert von RadioButton abfragen on Fri, 03 Sep 2004 08:01:38 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/2053">@Hepi</a><br />
man sieht den leuten das alter beim posten nicht an und RedEagle ist noch relativ jung und hat auch noch nicht soviel programmiert. da kann man nicht erwarten das er einen blick in die doku schmeisst und sofort versteht was gemeint ist.<br />
und dieses Forum ist im verlgeich zu dem von RedEagle geposteten Forum doch recht newbiefeindlich, besonders wenn ein neuer es wagt void main zu schreiben oder include &lt;iostream.h&gt; wird er ja fast gleich so angefahren als hätte er ein schwerverbrechen begangen dabei tippt er gerade sein erstes hello world aus nem buch ab... (bevor mich jetzt wieder alle killen ich find dieses forum hier sehr gut und die wahrscheinlichkeit wenn man mal wirklich ein problem hat ne antwort zu bekommen ich hier unwahrscheinlich hoch)</p>
<p>das liegt vermutlich daran das den meisten hier schon viele sachen trivial erscheinen was anfängern in dem andern foren nicht trivial erscheint...</p>
<p>ich kann dich auf jeden fall beruhigen redEagle ist kein reiner copy&amp;paster.<br />
er versucht zumindest wenn er beispielcode hat diesen auch zu verstehen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/598498</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/598498</guid><dc:creator><![CDATA[Windalf]]></dc:creator><pubDate>Fri, 03 Sep 2004 08:01:38 GMT</pubDate></item></channel></rss>