Solved

Can't Keep a good button down

Posted on 1997-12-26
1
188 Views
Last Modified: 2013-11-20
Hi,

I have a dialog with a push button, I want to keep the button down when I press it until the next press (i.e. firt regular, click - button down until next click *on* button). I have been able to do this to some extent using the SetState, but whenever I click on something else in the dialog box the button pops up again. Any solution?
0
Comment
Question by:yossik
1 Comment
 
LVL 1

Accepted Solution

by:
Arkadiy earned 150 total points
ID: 1313114
Check out the comhbination of BS_CHECKBOX and BS_PUSHLIKE styles.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
move a line in eclipse 3 102
no14 challenge 14 66
twoTwo  challenge 35 102
ASP.NET C# MessageBox.Show Showing a modal dialog box or form when the application ... 2 122
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 …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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