protected override void WndProc(ref Message m) { if (m.Msg == (int)MouseMessages.WM_LBUTTONDOWN || m.Msg == (int)MouseMessages.WM_LBUTTONUP) MessageBox.Show("Click event caught!"); //return; --to suppress the mouse click else base.WndProc(ref m); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)