Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: 'ctor design and extra "cost" of using nullable ValueTypes ? Pin
BillWoodruff9-Feb-16 20:08
professionalBillWoodruff9-Feb-16 20:08 
GeneralRe: 'ctor design and extra "cost" of using nullable ValueTypes ? Pin
Pete O'Hanlon9-Feb-16 21:30
mvePete O'Hanlon9-Feb-16 21:30 
SuggestionRe: 'ctor design and extra "cost" of using nullable ValueTypes ? Pin
Richard Deeming9-Feb-16 1:51
mveRichard Deeming9-Feb-16 1:51 
GeneralRe: 'ctor design and extra "cost" of using nullable ValueTypes ? Pin
BillWoodruff9-Feb-16 20:09
professionalBillWoodruff9-Feb-16 20:09 
QuestionLarge terrain problem in main first game Pin
Member 122480289-Feb-16 0:25
Member 122480289-Feb-16 0:25 
AnswerRe: Large terrain problem in main first game Pin
OriginalGriff9-Feb-16 0:45
mveOriginalGriff9-Feb-16 0:45 
GeneralRe: Large terrain problem in main first game Pin
Member 122480289-Feb-16 1:03
Member 122480289-Feb-16 1:03 
QuestionCode or .NET class in C# similar to what inf2cat does ? Pin
Coding4DMasses8-Feb-16 23:07
Coding4DMasses8-Feb-16 23:07 
AnswerRe: Code or .NET class in C# similar to what inf2cat does ? Pin
Garth J Lancaster8-Feb-16 23:45
professionalGarth J Lancaster8-Feb-16 23:45 
GeneralRe: Code or .NET class in C# similar to what inf2cat does ? Pin
Coding4DMasses8-Feb-16 23:50
Coding4DMasses8-Feb-16 23:50 
Question(c#) Detection of encoding imported txt files ? Pin
Member 104109728-Feb-16 21:17
Member 104109728-Feb-16 21:17 
AnswerRe: (c#) Detection of encoding imported txt files ? Pin
Thomas Daniels8-Feb-16 21:34
mentorThomas Daniels8-Feb-16 21:34 
GeneralRe: (c#) Detection of encoding imported txt files ? Pin
Member 104109728-Feb-16 23:31
Member 104109728-Feb-16 23:31 
AnswerRe: (c#) Detection of encoding imported txt files ? Pin
Sascha Lefèvre8-Feb-16 21:54
professionalSascha Lefèvre8-Feb-16 21:54 
QuestionHow can i use instead of Sleep() method? Pin
sugarpasa8-Feb-16 10:11
sugarpasa8-Feb-16 10:11 
AnswerRe: How can i use instead of Sleep() method? Pin
Richard Andrew x648-Feb-16 11:24
professionalRichard Andrew x648-Feb-16 11:24 
GeneralRe: How can i use instead of Sleep() method? Pin
sugarpasa8-Feb-16 11:48
sugarpasa8-Feb-16 11:48 
GeneralRe: How can i use instead of Sleep() method? Pin
Richard Andrew x648-Feb-16 11:50
professionalRichard Andrew x648-Feb-16 11:50 
GeneralRe: How can i use instead of Sleep() method? Pin
sugarpasa8-Feb-16 12:41
sugarpasa8-Feb-16 12:41 
GeneralRe: How can i use instead of Sleep() method? Pin
Richard Andrew x648-Feb-16 12:15
professionalRichard Andrew x648-Feb-16 12:15 
GeneralRe: How can i use instead of Sleep() method? Pin
sugarpasa8-Feb-16 12:44
sugarpasa8-Feb-16 12:44 
GeneralRe: How can i use instead of Sleep() method? Pin
Richard Andrew x648-Feb-16 12:49
professionalRichard Andrew x648-Feb-16 12:49 
GeneralRe: How can i use instead of Sleep() method? Pin
sugarpasa9-Feb-16 6:12
sugarpasa9-Feb-16 6:12 
GeneralRe: How can i use instead of Sleep() method? Pin
Richard Andrew x649-Feb-16 6:19
professionalRichard Andrew x649-Feb-16 6:19 
After the program waits for WAITFOR, then take the main window handle of the process and enumerate all child windows until you find the Login window.

You could do it asynchronously by using a .NET Timer class: After waiting for WAITFOR, set the timer for a few seconds, then when the timer elapses, you can enumerate the child windows. I don't see that there is any way your program can know exactly when the Login window is shown.

If you need help with the Timer class, I'm sure people would be glad to help with specific questions.



The difficult we do right away...
...the impossible takes slightly longer.

QuestionScanning QR code Pin
Member 123142768-Feb-16 7:13
Member 123142768-Feb-16 7:13 

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.