Solved

Disable slider during runtime

Posted on 1997-07-31
1
508 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
[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
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Title # Comments Views Activity
iSeries DB2 Query 2 101
string initialization in java 11 122
Message not shown 5 104
Remove Password Protection from pdf (with password) using an command line executable 5 102
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…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

738 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