Click here to Skip to main content
15,916,463 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using Invoke to Manipulate the UI Pin
Richard Andrew x6418-Oct-11 20:35
professionalRichard Andrew x6418-Oct-11 20:35 
GeneralRe: Using Invoke to Manipulate the UI Pin
Pete O'Hanlon18-Oct-11 21:46
mvePete O'Hanlon18-Oct-11 21:46 
GeneralRe: Using Invoke to Manipulate the UI Pin
BobJanova18-Oct-11 22:36
BobJanova18-Oct-11 22:36 
GeneralRe: Using Invoke to Manipulate the UI Pin
Reiss18-Oct-11 22:57
professionalReiss18-Oct-11 22:57 
GeneralRe: Using Invoke to Manipulate the UI Pin
Pascal Ganaye19-Oct-11 2:06
Pascal Ganaye19-Oct-11 2:06 
GeneralRe: Using Invoke to Manipulate the UI Pin
Luc Pattyn19-Oct-11 4:21
sitebuilderLuc Pattyn19-Oct-11 4:21 
GeneralRe: Using Invoke to Manipulate the UI Pin
Pascal Ganaye19-Oct-11 4:57
Pascal Ganaye19-Oct-11 4:57 
GeneralRe: Using Invoke to Manipulate the UI Pin
Luc Pattyn19-Oct-11 6:03
sitebuilderLuc Pattyn19-Oct-11 6:03 
Pascal Ganaye wrote:
two calls to DoSomething won't happen simultaneously if they are called using Invoke.


Unless DoSomething() calls Application.DoEvents() (or something similar such as GetMessage), then the actions would probably still start in the intended order but not finish in that order, as now a later one could start and finish before an earlier one had a chance to finish. That is exactly why DoEvents is such an atrocious beast.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Using Invoke to Manipulate the UI Pin
BobJanova19-Oct-11 2:33
BobJanova19-Oct-11 2:33 
GeneralRe: Using Invoke to Manipulate the UI Pin
Bernhard Hiller19-Oct-11 3:55
Bernhard Hiller19-Oct-11 3:55 
GeneralRe: Using Invoke to Manipulate the UI Pin
Pete O'Hanlon18-Oct-11 22:59
mvePete O'Hanlon18-Oct-11 22:59 
GeneralRe: Using Invoke to Manipulate the UI Pin
Richard Andrew x6419-Oct-11 0:26
professionalRichard Andrew x6419-Oct-11 0:26 
GeneralRe: Using Invoke to Manipulate the UI Pin
Pete O'Hanlon19-Oct-11 0:36
mvePete O'Hanlon19-Oct-11 0:36 
GeneralRe: Using Invoke to Manipulate the UI Pin
BobJanova19-Oct-11 2:38
BobJanova19-Oct-11 2:38 
GeneralRe: Using Invoke to Manipulate the UI Pin
Dave Kreskowiak19-Oct-11 5:07
mveDave Kreskowiak19-Oct-11 5:07 
AnswerRe: Using Invoke to Manipulate the UI Pin
Luc Pattyn19-Oct-11 1:53
sitebuilderLuc Pattyn19-Oct-11 1:53 
GeneralRe: Using Invoke to Manipulate the UI Pin
Reiss18-Oct-11 22:31
professionalReiss18-Oct-11 22:31 
GeneralRe: Using Invoke to Manipulate the UI Pin
Richard Andrew x6419-Oct-11 0:21
professionalRichard Andrew x6419-Oct-11 0:21 
QuestionValueMember and DisplayMember on DataGridViewComboBoxCell Pin
Dewald18-Oct-11 11:29
Dewald18-Oct-11 11:29 
AnswerRe: ValueMember and DisplayMember on DataGridViewComboBoxCell Pin
egypogramer1-Jan-12 3:05
egypogramer1-Jan-12 3:05 
QuestionOpen multiple pdfs in one window on web Pin
vanikanc18-Oct-11 11:01
vanikanc18-Oct-11 11:01 
AnswerRe: Open multiple pdfs in one window on web Pin
Dennis E White18-Oct-11 11:49
professionalDennis E White18-Oct-11 11:49 
QuestionTab control with pages that are the same. Pin
__John_18-Oct-11 3:14
__John_18-Oct-11 3:14 
AnswerRe: Tab control with pages that are the same. Pin
PIEBALDconsult18-Oct-11 3:26
mvePIEBALDconsult18-Oct-11 3:26 
GeneralRe: Tab control with pages that are the same. Pin
BobJanova18-Oct-11 5:09
BobJanova18-Oct-11 5:09 

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.