Solved

Can't Keep a good button down

Posted on 1997-12-26
1
200 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
[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 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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
Expand data scrubbing tool 13 36
child constructor and parent constructor, overriding and overloading 6 93
changeXy challenge 13 93
noX challenge 17 134
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 …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.

749 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