Try handling WM_LBUTTONDOWN( & UP) or the
MFC equivalent OnLButtonDown()
[ OnLButtonUp() ]
--
Cheers
Check Abdoul [ VC++ MVP ]
-----------------------------------
Quote:
> Hello to all,
> I have to make an aplication in which I have to act on a
> pressed button. The only events generated I can find are
> ON_BN_CLICKED and ON_BN_DOUBLE_CLICKED. What I need is an
> event like ON_BUTTON_PRESSED or ON_BUTTON_DOWN, but I
> can't find something like that in the doc. Can I catch a
> message somewhere and how do I do that? After all the
> system reacts on it by changing the view of the button.
> pieter