Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Just want to ask to call a function when the user click on the mouse.
Is there a specific library that needed be added in?

Thanks.
Posted
Comments
Sergey Alexandrovich Kryukov 16-Dec-12 23:49pm    
The question makes no sense. This is related to some UI library; and there are many; and it also depends on the platform.
—SA
[no name] 17-Dec-12 0:20am    
This is a matter of interpretion and downvoting answers is not the way to go.
Sergey Alexandrovich Kryukov 17-Dec-12 0:33am    
Well, you are right, come to think about. So, OP needs to make sure the question allows for only one interpretation. No proper question, no useful answer.
—SA
[no name] 17-Dec-12 1:20am    
There has to be some room to move. An apparently sincere question with a reasonable interpretation may deserve an attempt at an answer. There is a limit to the value of the thought police.
Mohibur Rashid 17-Dec-12 4:26am    
What compiler are you using? what version?

As many others have said before posting a question you should do some work yourself and then ask about what you don't understand. This question is quite elementary and Google will provide you with many leads as the same question has been answered many times.

For example:


http://msdn.microsoft.com/en-us/library/windows/desktop/gg153548(v=vs.85).aspx[^]

http://xoax.net/cpp/crs/win32/lessons/Lesson7/[^]

AND

http://www.youtube.com/watch?v=da3DQymwiaQ[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900