UserControl occasionally does't receive click messages
I'm writing a custom control with button like behavior. The user need to
be able to handle the click event and the control needs to visually signal
that it has been pressed. I change the visual state of the control in the
OnMouseDown method and revert it back in OnMouseUp, and that works
perfectly; however, I've noticed in testing that my control will not
always receive mouse click messages, but the device is making the proper
auditory signals for a click and the control isn't losing focus.
P.S. If anyone know of a good utility that will allow me to log windows
messages sent to my app that would be swell and maybe help me see what may
be going wrong.
No comments:
Post a Comment