C# mouse input IDLE time

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<span style="color:#434343; font-family:helvetica,arial,verdana,ms sans serif,sans-serif; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:22px; orphans:2; text-align:left; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:#ffffff; display:inline!important; float:none Hi<br style="color:#434343; font-family:helvetica,arial,verdana,ms sans serif,sans-serif; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:22px; orphans:2; text-align:left; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:#ffffff
<span style="color:#434343; font-family:helvetica,arial,verdana,ms sans serif,sans-serif; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:22px; orphans:2; text-align:left; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:#ffffff; display:inline!important; float:none My
project is building a dictionary and I have done everything for it. Just I want to add a feature to my dictionary which is able the user to leave the cursor on the word which he/she want to find the meaning. after that the meaning appear in a box. My problem
is I dont know how to write the code to detect the Mouse Idle time for two seconds and perform a double-click to highlight the text. the rest I can do. I just want to know how can I recognize the mouse IDLE time and assign a double click to it. Can you guide
me in this case?<span> <br style="color:#434343; font-family:helvetica,arial,verdana,ms sans serif,sans-serif; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:22px; orphans:2; text-align:left; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:#ffffff
<br style="color:#434343; font-family:helvetica,arial,verdana,ms sans serif,sans-serif; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:22px; orphans:2; text-align:left; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:#ffffff
<span style="color:#434343; font-family:helvetica,arial,verdana,ms sans serif,sans-serif; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:22px; orphans:2; text-align:left; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px; background-color:#ffffff; display:inline!important; float:none Sincerely

View the full article
 
Back
Top