mouse event

  • Thread starter Thread starter Ryan Moore
  • Start date Start date
R

Ryan Moore

how can I trigger an event whenever the mouse is clicked in ANY control,
panel, etc in a form?

thnx
 
Hi,

One option might be to install a windows hook an you can generate an event
when ever you you receive a WM_LBUTTONDOWN message, you will have to lookup
the ID for WM_LBUTTONDOWN. The following KB article details windows hooks in
..NET
http://support.microsoft.com/?kbid=318804

Hope this helps

Chris Taylor
 
Back
Top