Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++
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 16-Dec-12 16:52pm
Comments
Sergey Alexandrovich Kryukov at 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
pwasser at 17-Dec-12 0:20am
   
This is a matter of interpretion and downvoting answers is not the way to go.
Sergey Alexandrovich Kryukov at 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
pwasser at 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 at 17-Dec-12 4:26am
   
What compiler are you using? what version?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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[^]
  Permalink  
v2

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

  Print Answers RSS
0 OriginalGriff 6,696
1 Sergey Alexandrovich Kryukov 6,675
2 CPallini 5,315
3 George Jonsson 3,584
4 Gihan Liyanage 2,650


Advertise | Privacy | Mobile
Web02 | 2.8.140921.1 | Last Updated 16 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100