Handle Button Down and Button Up

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?
Who is Participating?
chensuConnect With a Mentor Commented:
Derive your own button class from CButton and override OnLButtonDown() and OnLButtonUp().
All Courses

From novice to tech pro — start learning today.