0

I want to hide cursor in my application when user is doing nothing, like when you start watching movie on YT, after 10s cursor is hiding and if user is moving mouse or he clicked on keyboard then cursor is showing. I know I should use

Cursor.Hide();
Cursor.Show();

but I don't know what method I should use for wait operation?

Jacek Grzelaczyk
  • 783
  • 2
  • 9
  • 21
  • Not my choice, the SO engine thinks it does. If you think it was wrong about it then surely you can convince it by typing more than a single paragraph of text and a nonsensical code snippet. – Hans Passant Jun 08 '14 at 17:49
  • may you help me with this, exactly I don't know what can I change in my question @Hans – Jacek Grzelaczyk Jun 08 '14 at 17:51
  • @HansPassant my question is in C# and those question what is compared with mine is in vb.net – Jacek Grzelaczyk Jun 08 '14 at 18:26
  • @Jacek Are you using WPF or WindowsForms? – Piotr Chojnacki Jun 08 '14 at 18:40
  • WindowsForms @PiotrChojnacki – Jacek Grzelaczyk Jun 08 '14 at 18:41
  • 1
    @HansPassant Do you think SO needs people who can only follow it's recommendations regarding closing threads? Well, it doesn't. So, think first before you act. There's nothing wrong with a question, I'd rather say it's OK as it doesn't need more description. – Piotr Chojnacki Jun 08 '14 at 18:43
  • @Jacek You should look at this thread, it's probably what you're looking for: http://stackoverflow.com/questions/6282298/detecting-idle-users-in-winforms – Piotr Chojnacki Jun 08 '14 at 18:50
  • @Piotr - you linked the same answer I did. Nice thinking. It wasn't enough so I removed the vote again. Somebody needs to post the send-me-teh-codez answer, feel free to step up to the plate. – Hans Passant Jun 08 '14 at 19:08

0 Answers0