<?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[RadioControl abfrage]]></title><description><![CDATA[<p>Hi,</p>
<p>ich hba da ein Problem mit den RadioButtons, ich hab schon hier im Forum gesucht find aber kein Hilfe bzw. lösungsweg.. also</p>
<pre><code>switch(message)
    {
    case WM_INITDIALOG:

        return TRUE;

     case WM_PAINT:
        {
            HDC hdc;
            PAINTSTRUCT ps;

            hdc = BeginPaint(hWindow, &amp;ps);
            {

                TextOut(hdc, 200, 50, asctime(SysTime), 20);

                TextOut(hdc, 150, 150, Day.str(), Day.pcount());     //Output Day

                TextOut(hdc, 190, 150, Month.str(), Month.pcount()); // Output Month

                TextOut(hdc, 250, 150, Year.str(), Year.pcount());   //Output Year

            }EndPaint(hWindow, &amp;ps);

        }  
    case WM_COMMAND:
        {

            switch(LOWORD(wParam))
            {

            case IDC_INTER6:
                {

                    break;                    
                }
            case IDC_INTER12:
                {

                    break;
                }
            case IDC_INTER18:
                {

                    break;
                }
            case IDC_INTER24:
                {

                    break;
                }
            case IDC_OK:
                {
                //Beendet Service Fenster
                PostQuitMessage(0);
                DestroyWindow(hWindow);
                break;
                }
            case IDC_REFRESH:
                {
                    //Erneuert Zeitangabe, falls System Zeit falsch angegebn
                    InvalidateRect(hWindow, NULL, TRUE);
                    break;
                }
            case IDC_SET:
                {
                    //ADD CODE 4 Registry Set's
                    HKEY hKey;
                    //RegCreateKeyEx(HKEY_LOCAL_MACHINE, &quot;Software\\testapp&quot;, 0,0,REG_OPTION_NON_VOLATILE,
                    //KEY_ALL_ACCESS,NULL, &amp;hKey, 0);

                    //RegSetValueEx(hKey, &quot;test&quot;,0,REG_SZ, &quot;2&quot;,5);
                    //RegCloseKey(hKey);
                    break;
                }

            }//end switch
        }//end case WM_COMMAND
    break;
    default: return FALSE;
    }
    return TRUE;
}
</code></pre>
<p>ich will das wenn ich auf nen radiobutton klick sich die variable Get.Month um einen wert erhöht und dann wieder ausgegeben wird, aber ich raff die abfrage von den radiobuttons nicht mit SendMessage(); thx für ne kleine hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/105401/radiocontrol-abfrage</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 07:18:46 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/105401.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 Mar 2005 07:37:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RadioControl abfrage on Wed, 30 Mar 2005 07:37:52 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich hba da ein Problem mit den RadioButtons, ich hab schon hier im Forum gesucht find aber kein Hilfe bzw. lösungsweg.. also</p>
<pre><code>switch(message)
    {
    case WM_INITDIALOG:

        return TRUE;

     case WM_PAINT:
        {
            HDC hdc;
            PAINTSTRUCT ps;

            hdc = BeginPaint(hWindow, &amp;ps);
            {

                TextOut(hdc, 200, 50, asctime(SysTime), 20);

                TextOut(hdc, 150, 150, Day.str(), Day.pcount());     //Output Day

                TextOut(hdc, 190, 150, Month.str(), Month.pcount()); // Output Month

                TextOut(hdc, 250, 150, Year.str(), Year.pcount());   //Output Year

            }EndPaint(hWindow, &amp;ps);

        }  
    case WM_COMMAND:
        {

            switch(LOWORD(wParam))
            {

            case IDC_INTER6:
                {

                    break;                    
                }
            case IDC_INTER12:
                {

                    break;
                }
            case IDC_INTER18:
                {

                    break;
                }
            case IDC_INTER24:
                {

                    break;
                }
            case IDC_OK:
                {
                //Beendet Service Fenster
                PostQuitMessage(0);
                DestroyWindow(hWindow);
                break;
                }
            case IDC_REFRESH:
                {
                    //Erneuert Zeitangabe, falls System Zeit falsch angegebn
                    InvalidateRect(hWindow, NULL, TRUE);
                    break;
                }
            case IDC_SET:
                {
                    //ADD CODE 4 Registry Set's
                    HKEY hKey;
                    //RegCreateKeyEx(HKEY_LOCAL_MACHINE, &quot;Software\\testapp&quot;, 0,0,REG_OPTION_NON_VOLATILE,
                    //KEY_ALL_ACCESS,NULL, &amp;hKey, 0);

                    //RegSetValueEx(hKey, &quot;test&quot;,0,REG_SZ, &quot;2&quot;,5);
                    //RegCloseKey(hKey);
                    break;
                }

            }//end switch
        }//end case WM_COMMAND
    break;
    default: return FALSE;
    }
    return TRUE;
}
</code></pre>
<p>ich will das wenn ich auf nen radiobutton klick sich die variable Get.Month um einen wert erhöht und dann wieder ausgegeben wird, aber ich raff die abfrage von den radiobuttons nicht mit SendMessage(); thx für ne kleine hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/755443</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/755443</guid><dc:creator><![CDATA[.testor]]></dc:creator><pubDate>Wed, 30 Mar 2005 07:37:52 GMT</pubDate></item><item><title><![CDATA[Reply to RadioControl abfrage on Wed, 30 Mar 2005 07:43:03 GMT]]></title><description><![CDATA[<p>IsDlgButtonChecked <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>
]]></description><link>https://www.c-plusplus.net/forum/post/755448</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/755448</guid><dc:creator><![CDATA[Possoko]]></dc:creator><pubDate>Wed, 30 Mar 2005 07:43:03 GMT</pubDate></item></channel></rss>