Solved

Two-state pushbutton

Posted on 1998-02-24
1
276 Views
Last Modified: 2013-11-20
I need that one of my standard pushbuttons in MyDialog toggles bewteen the pressed and non-pressed state each time the user clicks it. Is there any easy way to do it, avoiding the Owner Draw?
0
Comment
Question by:winmeister
1 Comment
 
LVL 7

Accepted Solution

by:
galkin earned 50 total points
ID: 1316515
Add checkbox to your dialog resource. In properties sheet choose Styles tab. Check Push-like checkbox.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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: 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.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 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