Click here to Skip to main content
16,011,702 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: problem extending datetimepicker Pin
carlo.andreoli28-Sep-09 20:37
carlo.andreoli28-Sep-09 20:37 
QuestionCommunicating with main GUI thread from worker thread Pin
LetsMond15-Sep-09 1:25
LetsMond15-Sep-09 1:25 
AnswerRe: Communicating with main GUI thread from worker thread Pin
N a v a n e e t h15-Sep-09 2:17
N a v a n e e t h15-Sep-09 2:17 
GeneralRe: Communicating with main GUI thread from worker thread Pin
LetsMond15-Sep-09 3:53
LetsMond15-Sep-09 3:53 
GeneralRe: Communicating with main GUI thread from worker thread Pin
N a v a n e e t h15-Sep-09 16:13
N a v a n e e t h15-Sep-09 16:13 
AnswerRe: Communicating with main GUI thread from worker thread Pin
N a v a n e e t h15-Sep-09 2:25
N a v a n e e t h15-Sep-09 2:25 
AnswerRe: Communicating with main GUI thread from worker thread Pin
dybs15-Sep-09 18:32
dybs15-Sep-09 18:32 
GeneralRe: Communicating with main GUI thread from worker thread Pin
Luc Pattyn15-Sep-09 18:46
sitebuilderLuc Pattyn15-Sep-09 18:46 
dybs wrote:
I believe the WorkerCompleted event executes on the thread that started the worker thread


Nope.
Both the ProgressChanged and RunWorkerCompleted event handler will execute on the main (aka GUI) thread, no matter which thread created or started the BackgroundWorker instance. So they basically execute a MainForm.Invoke() for you.

Smile | :)

Luc Pattyn

Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.

Local announcement (Antwerp region): Lange Wapper? Neen!


GeneralRe: Communicating with main GUI thread from worker thread Pin
dybs15-Sep-09 18:54
dybs15-Sep-09 18:54 
GeneralRe: Communicating with main GUI thread from worker thread Pin
LetsMond23-Sep-09 3:49
LetsMond23-Sep-09 3:49 
GeneralRe: Communicating with main GUI thread from worker thread Pin
Luc Pattyn23-Sep-09 4:01
sitebuilderLuc Pattyn23-Sep-09 4:01 
GeneralRe: Communicating with main GUI thread from worker thread Pin
LetsMond23-Sep-09 4:13
LetsMond23-Sep-09 4:13 
GeneralRe: Communicating with main GUI thread from worker thread Pin
Luc Pattyn23-Sep-09 6:47
sitebuilderLuc Pattyn23-Sep-09 6:47 
GeneralRe: Communicating with main GUI thread from worker thread Pin
LetsMond23-Sep-09 7:20
LetsMond23-Sep-09 7:20 
GeneralRe: Communicating with main GUI thread from worker thread Pin
Luc Pattyn23-Sep-09 6:51
sitebuilderLuc Pattyn23-Sep-09 6:51 
QuestionBitmap-Stride a multiple of 4? [modified] Pin
cherrymotion11-Sep-09 2:29
cherrymotion11-Sep-09 2:29 
AnswerRe: Bitmap-Stride a multiple of 4? Pin
Mark Salsbery11-Sep-09 6:10
Mark Salsbery11-Sep-09 6:10 
QuestionCalling managed function from unmanaged function Pin
santoshkaif8-Sep-09 9:59
santoshkaif8-Sep-09 9:59 
AnswerRe: Calling managed function from unmanaged function Pin
N a v a n e e t h8-Sep-09 16:31
N a v a n e e t h8-Sep-09 16:31 
AnswerRe: Calling managed function from unmanaged function [modified] Pin
santoshkaif8-Sep-09 17:52
santoshkaif8-Sep-09 17:52 
GeneralRe: Calling managed function from unmanaged function Pin
N a v a n e e t h9-Sep-09 5:49
N a v a n e e t h9-Sep-09 5:49 
QuestionRe: Calling managed function from unmanaged function [modified] Pin
santoshkaif9-Sep-09 8:18
santoshkaif9-Sep-09 8:18 
AnswerRe: Calling managed function from unmanaged function Pin
N a v a n e e t h9-Sep-09 16:35
N a v a n e e t h9-Sep-09 16:35 
QuestionRe: Calling managed function from unmanaged function Pin
santoshkaif10-Sep-09 0:04
santoshkaif10-Sep-09 0:04 
AnswerRe: Calling managed function from unmanaged function Pin
santoshkaif10-Sep-09 0:16
santoshkaif10-Sep-09 0:16 

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.