hi everyone,
I want to insert in this cobe something to count every mouse click (not only in the front form) and display them when start button is pressed
Code:
public: System::Void StartB_Click(System::Object^  sender, System::Windows::Forms::MouseEventArgs e)
			 {

				if (e.Button == ::MouseButtons::Left)
				{
					l++;
				}
				else if (e.Button == ::MouseButtons::Right)
				{
					r++;
				}
				else if (e.Button == ::MouseButtons::Middle)
				{
					m++;
				} 
			 }
I tryied this but it doesn't seem to work...