Solved

How to disable radiobatton in dialog?

Posted on 2002-04-01
1
293 Views
Last Modified: 2012-06-27
I'm using this function and it is working fine for checkbox but not working for radiobutton

SendDlgItemMessage(HWND,BUTTON1,WM_ENABLE,0,0);//disable

What is wrong?
0
Comment
Question by:serg111
1 Comment
 
LVL 4

Accepted Solution

by:
pagladasu earned 100 total points
ID: 6911532
GetDlgItem(IDC_BUTTON1)->EnableWindow(FALSE);
where IDC_BUTTON1 is the ID of the radio button in question.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Converting to C# also VS2015 5 117
c++ syntax question 9 44
Websocket through haproxy reused connection causes "Not a valid frame" error. 4 73
C++ mouse_event mouse look 7 70
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now