Solved

Handle Button Down and Button Up

Posted on 1997-09-08
1
293 Views
Last Modified: 2013-11-20
I want to handle CButton's button up and down event separately instead of just button clicking. When I press down a CButton, I want my program to activate a message handler. And when I release that CButton, I want another message handler to be activated. How to do this?
0
Comment
Question by:KokHua
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
ID: 1305956
Derive your own button class from CButton and override OnLButtonDown() and OnLButtonUp().
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error on moodle after upgrade 3 130
countEvens challenge 2 100
Fibonacci challenge 11 122
unix example issues 18 90
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: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

777 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