Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Generic left mouse down click
PostPosted: Mon Feb 13, 2017 2:28 am 

Joined: Tue Nov 13, 2012 12:25 pm
Posts: 15

Offline
Hi,
Could someone suggest a way to capture the "generic" left mouse down event, not the event related to an object but simply an event that will be fire every time the left mouse button will be clicked.

Thanks.


 Profile  
 
 Post subject: Re: Generic left mouse down click
PostPosted: Mon Feb 13, 2017 10:17 am 

Joined: Mon Jun 11, 2012 2:10 pm
Posts: 89

Offline
The only way to do this is by using message hooks. To give the answer from Stack Overflow, http://stackoverflow.com/questions/7497024/how-to-detect-mouse-clicks. Just to note, if you are using Windows CE based HMI you will need to replace dll references with core.dll.

_________________
Adam M.
Controls Engineer
FlexEnergy


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron