I just want to know which class (model , controller or view class) should contain mouse event handling methods .
for example drawrect method should present in a view class .
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Mouse event handling should be in the view class. Other classes do not receive mouse events — if you add a mouse event handler somewhere else, it will not be called.