?
Solved

disable a whole button radio group

Posted on 2003-10-29
4
Medium Priority
?
376 Views
Last Modified: 2013-11-20
Hi, i have two groups of radio buttons. I want to disable one of them when a certain button is pressed, but i can only disable one. Could anybody tell how to disble the rest of them? Thanks!
0
Comment
Question by:pescatera
[X]
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
4 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 200 total points
ID: 9643114
GetDlgItem(IDC_RADIO1)->EnabelWindow(FALSE);
GetDlgItem(IDC_RADIO2)->EnabelWindow(FALSE);
GetDlgItem(IDC_RADIO3)->EnabelWindow(FALSE);
...

If resource ID values are contiguous, you can use a loop.
0
 
LVL 1

Author Comment

by:pescatera
ID: 9643147
Thanks a lot!
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

770 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