[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

disable a whole button radio group

Posted on 2003-10-29
4
Medium Priority
?
378 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
2 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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 lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month19 days, 22 hours left to enroll

873 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