Solved

Can't Keep a good button down

Posted on 1997-12-26
1
168 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
Comment Utility
Check out the comhbination of BS_CHECKBOX and BS_PUSHLIKE styles.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

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

12 Experts available now in Live!

Get 1:1 Help Now