March 13th, 2013, 05:02 PM
count mouse clicks
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
I tryied this but it doesn't seem to work...
public: System::Void StartB_Click(System::Object^ sender, System::Windows::Forms::MouseEventArgs e)
if (e.Button == ::MouseButtons::Left)
else if (e.Button == ::MouseButtons::Right)
else if (e.Button == ::MouseButtons::Middle)
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.