Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


radio button...

Posted on 2004-11-01
Medium Priority
Last Modified: 2013-11-20
when i clicked the things  which is also the radio button, i would like to unable the others radio button which already checked!

void CRDStockInventoryView::OnWithdrawal() (radio button)
      button = (CButton*)GetDlgItem(IDC_NONBP1); //prevous radio button  (BUT it will became uncheck.))
Question by:DannyGan9
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 45

Accepted Solution

AndyAinscow earned 150 total points
ID: 12461692
If you have the radio buttons in order (resource editor).  Set the first radio to be group AND the next control in tab order AFTER the last radio button to group, all other radio buttons are not group.  Windows will now do it for you.

Author Comment

ID: 12469803
void CRDStockInventoryView::OnWithdrawal() (radio button  i pressing)
     button = (CButton*)GetDlgItem(IDC_NONBP1); //prevous radio button  (BUT it will became   uncheck.))

My problem is when i checking the current radio button, i would like to unable the previous radio button i checked, BUT from above coding i did, which just can unable the radio button only (my previous checked radio button is gone)!!!!  

Got Any Solution about this? TQ!

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question