Solved

Disable slider during runtime

Posted on 1997-07-31
1
502 Views
Last Modified: 2013-11-20
Hi,
I wonder how to disable a slider control during runtime.

I also have a problem with disabling radiobutton(s) during run time. I've tried with the funktion
DisableButton("button id") but the compiler didn't recognize the funktion.

Very glad for answers as always.
0
Comment
Question by:KalleH
1 Comment
 
LVL 4

Accepted Solution

by:
mbhakta earned 50 total points
ID: 1302971
Try the function EnableWindow( hWnd, bEnable) and set bEnable to FALSE. The hWnd is the handle to the button. If you are using MFC use
m_Button.EnableWindow(bEnable);
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

Suggested Solutions

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.  MFC has a very cool system for handli…
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

821 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