About 995,000 results
Open links in new tab
  1. Programmatically set radio button state in MFC - Stack Overflow

    May 10, 2015 · Add a radio button control data member, m_iRadio (0 based radio button group enum). Then in your CheckRadioButton(), just set m_iRadio to the 0-based value instead of the control ID enum {RADIO_OPTION1, RADIO_OPTOIN2, RADIO_OPTION3};

  2. Guidelines for radio buttons - Windows apps | Microsoft Learn

    Feb 26, 2025 · There are two ways to create radio button groups: RadioButtons and RadioButton. We recommend the RadioButtons control. This control simplifies layout, handles keyboard navigation and accessibility, and supports binding to a data source. You can use groups of individual RadioButton controls.

  3. Radio Buttons in MFC Dialogs - Experts Exchange

    Sep 12, 2009 · Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms. Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.

  4. MFC Radio Buttons - Online Tutorials Library

    Let us look into an example of Radio button by creating a new MFC dialog based application. Step 1 − Drag a group box and three radio buttons and remove the Caption of Static Text control. Step 2 − Add event handler for all the three radio buttons.

  5. Windows Controls: Radio Buttons - FunctionX

    To visually create a radio button, on the Toolbox, click the Radio Button object and click the desired area on the host window. In the same way, add one or more radio buttons. As a Windows control, the radio button is based on the CButton class which, like …

  6. Radio Buttons - Win32 apps | Microsoft Learn

    Feb 9, 2021 · Use radio buttons on wizard pages to make the alternatives clear, even if a check box is otherwise acceptable. Use radio buttons if you have enough screen space and the options are important enough to be a good use of that screen space. Otherwise, use a …

  7. How to create Dialog Box with Radio Buttons and return Value

    Jun 8, 2017 · What I want to do: Build a Dialog Box which shows a Radio Button for each element in the given List and returning the selected element/value by clicking on OK-Button. Thanks in Advance. Create your own using win forms and use DialogResult for control.

  8. LDC #128: Checkbox and Radio Button Controls Part 2

    Mar 22, 2019 · The one for radio buttons is located at https://docs.microsoft.com/en-us/windows/desktop/uxguide/ctrl-radio-buttons. It is worth at least speed read. In my next blog on checkboxes and radio buttons, I will explore the BS_NOTIFY style and how to manually perform processing for these types of controls.

  9. Working With Radio Button Control In Winforms Application

    Jun 20, 2024 · Learn how to effectively utilize radio button controls in your WinForms applications using Visual Studio 2017. This tutorial covers essential topics including adding radio buttons to forms, managing their properties and events, using group boxes for logical grouping, and integrating them into your user interface design.

  10. How to specify the default selected Radiobutton in MFC?

    Mar 8, 2011 · Use the CheckRadioButton to set the state of the radio buttons. DDX_Radio. You should define the range of the available values for your radio buttons in String Table. So if you have two controls, you specify 0 and 1, so the first value for m_membervariable is for your first control and the second one for your second.

  11. Some results have been removed
Refresh