Solved

Disable slider during runtime

Posted on 1997-07-31
1
489 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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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

11 Experts available now in Live!

Get 1:1 Help Now