Click here to Skip to main content
15,891,943 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to serialize and deserialize Cursor? Pin
Rashid.Mahmood13-Feb-06 20:17
Rashid.Mahmood13-Feb-06 20:17 
GeneralRe: How to serialize and deserialize Cursor? Pin
Dave Kreskowiak14-Feb-06 2:21
mveDave Kreskowiak14-Feb-06 2:21 
QuestionText to Speech Pin
de_Oracle13-Feb-06 6:54
de_Oracle13-Feb-06 6:54 
AnswerRe: Text to Speech Pin
Judah Gabriel Himango13-Feb-06 7:18
sponsorJudah Gabriel Himango13-Feb-06 7:18 
GeneralRe: Text to Speech Pin
de_Oracle14-Feb-06 6:35
de_Oracle14-Feb-06 6:35 
Questioni need to send query string value from my page to my error page in C#.NET Pin
ap_sa13-Feb-06 6:27
ap_sa13-Feb-06 6:27 
GeneralRe: i need to send query string value from my page to my error page in C#.NET Pin
Guffa13-Feb-06 7:26
Guffa13-Feb-06 7:26 
Questionwaiting but still recieving messages....is there a way? Pin
nick15813-Feb-06 6:14
nick15813-Feb-06 6:14 
I only started coding c# a week ago, and I’m a little stuck! I'm making an application where the user has 1 second to click the mouse button once they see movement on the screen.

My problem is: what is the best way of waiting until the mouse button has been pressed without hogging the system resources? If I use a sleep then the onclick method for the mouse click won’t be called until the sleep has finished I assume?

I need the time at which the mouse button was pressed, therefore sleeping for 1 second and then seeing if the mouse was pressed isn't good enough. Currently the application was coded by someone else, and it uses a while loop until the time equals 1 second later. Obviously this allows the application to receive messages and make the onclick method call occur but it also uses all the processing resources.

Further to this, is there a way of getting a time stamp of when a message occurred? This would be more accurate than getting the time once the on click method has been called.

Any help with this would be greatly appreciated!

Nick
AnswerRe: waiting but still recieving messages....is there a way? Pin
Robin Panther13-Feb-06 7:02
Robin Panther13-Feb-06 7:02 
GeneralRe: waiting but still recieving messages....is there a way? Pin
nick15813-Feb-06 8:00
nick15813-Feb-06 8:00 
AnswerRe: waiting but still recieving messages....is there a way? Pin
Guffa13-Feb-06 8:19
Guffa13-Feb-06 8:19 
QuestionFile Upload Manager for C# Pin
mcmcom13-Feb-06 6:08
mcmcom13-Feb-06 6:08 
AnswerRe: File Upload Manager for C# Pin
de_Oracle13-Feb-06 7:00
de_Oracle13-Feb-06 7:00 
GeneralRe: File Upload Manager for C# Pin
mcmcom13-Feb-06 7:02
mcmcom13-Feb-06 7:02 
QuestionC# 2.0 Key + Mouse Move Pin
kselman13-Feb-06 6:08
kselman13-Feb-06 6:08 
AnswerRe: C# 2.0 Key + Mouse Move Pin
PicklesTheClown13-Feb-06 6:57
PicklesTheClown13-Feb-06 6:57 
GeneralRe: C# 2.0 Key + Mouse Move Pin
kselman13-Feb-06 15:21
kselman13-Feb-06 15:21 
GeneralRe: C# 2.0 Key + Mouse Move Pin
PicklesTheClown13-Feb-06 16:15
PicklesTheClown13-Feb-06 16:15 
Questioni want to convert from rgb to luv color space Pin
haytham_mohammad13-Feb-06 5:08
haytham_mohammad13-Feb-06 5:08 
AnswereasyRGB Pin
Insincere Dave13-Feb-06 5:59
Insincere Dave13-Feb-06 5:59 
AnswerRe: i want to convert from rgb to luv color space Pin
IdUnknown13-Feb-06 8:54
IdUnknown13-Feb-06 8:54 
QuestionMaking form FullScreen, covering Task bar help Pin
Gunn31713-Feb-06 4:47
Gunn31713-Feb-06 4:47 
AnswerRe: Making form FullScreen, covering Task bar help Pin
IdUnknown13-Feb-06 8:42
IdUnknown13-Feb-06 8:42 
GeneralRe: Making form FullScreen, covering Task bar help Pin
Gunn31713-Feb-06 9:25
Gunn31713-Feb-06 9:25 
AnswerRe: Making form FullScreen, covering Task bar help Pin
Sean8913-Feb-06 15:40
Sean8913-Feb-06 15:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.