In a c++ application how to know mouse button(left/right) is clicked,pressed or release.