Click here to Skip to main content
15,888,527 members
Home / Discussions / WPF
   

WPF

 
QuestionRe: Updating only visible rows in WPF ListView Pin
Kunal Chowdhury «IN»13-May-09 1:45
professionalKunal Chowdhury «IN»13-May-09 1:45 
AnswerRe: Updating only visible rows in WPF ListView Pin
Pete O'Hanlon13-May-09 1:55
mvePete O'Hanlon13-May-09 1:55 
GeneralRe: Updating only visible rows in WPF ListView Pin
Kunal Chowdhury «IN»13-May-09 2:06
professionalKunal Chowdhury «IN»13-May-09 2:06 
GeneralRe: Updating only visible rows in WPF ListView Pin
Pankaj Chamria13-May-09 22:22
Pankaj Chamria13-May-09 22:22 
GeneralRe: Updating only visible rows in WPF ListView Pin
Kunal Chowdhury «IN»14-May-09 2:48
professionalKunal Chowdhury «IN»14-May-09 2:48 
GeneralRe: Updating only visible rows in WPF ListView Pin
Pete O'Hanlon14-May-09 4:57
mvePete O'Hanlon14-May-09 4:57 
GeneralRe: Updating only visible rows in WPF ListView Pin
Kunal Chowdhury «IN»14-May-09 21:02
professionalKunal Chowdhury «IN»14-May-09 21:02 
QuestionWPF, Delegates, The calling thread cannot access this object because a different thread owns it Pin
frosty_4th16-Feb-09 16:00
frosty_4th16-Feb-09 16:00 
Help,

I'm at my wits end. I have been working for days trying to execute the simplest task. Here is the basics of my WPF project.

I have a main form.
I have a Dialog.
I have a class module that handles serial comm

When I receive data on the serial line, I want to launch the dialog. My main form has an instance of my dialog. My main form also contains an instance of my serial comm class. When instantiating my comm class I pass a delegate sub to be called when data arrives on the serial port. So far so good.

The sub gets called when data arrives on the port, but when I try to launch my dialog I get the message "The calling thread cannot access this object because a different thread owns it".

What am I missing here? I have tried instantiating the dialog within the serial comm module but get the error that the instantiation must happen from an STA thread.

I have been googling for days, but each delegate example is different than the next. I'm not even sure that the delegate handling is my problem.

I apologize if this seems like a simple question, I am new to WPF and do not yet know what I don't know. None of the books I've purchased seem to go into any detail regarding my particular situation.

Thank You
AnswerRe: WPF, Delegates, The calling thread cannot access this object because a different thread owns it Pin
ABitSmart16-Feb-09 16:36
ABitSmart16-Feb-09 16:36 
GeneralRe: WPF, Delegates, The calling thread cannot access this object because a different thread owns it Pin
Pete O'Hanlon16-Feb-09 22:25
mvePete O'Hanlon16-Feb-09 22:25 
GeneralRe: WPF, Delegates, The calling thread cannot access this object because a different thread owns it Pin
frosty_4th16-Feb-09 23:41
frosty_4th16-Feb-09 23:41 
GeneralRe: WPF, Delegates, The calling thread cannot access this object because a different thread owns it Pin
Pete O'Hanlon16-Feb-09 23:49
mvePete O'Hanlon16-Feb-09 23:49 
GeneralRe: WPF, Delegates, The calling thread cannot access this object because a different thread owns it Pin
gvijaianandmca30-Sep-09 1:10
gvijaianandmca30-Sep-09 1:10 
GeneralRe: WPF, Delegates, The calling thread cannot access this object because a different thread owns it Pin
Pete O'Hanlon30-Sep-09 2:11
mvePete O'Hanlon30-Sep-09 2:11 
QuestionAnother Silverlight upgrade headache - Hashtable [modified] Pin
devvvy16-Feb-09 14:34
devvvy16-Feb-09 14:34 
AnswerRe: Another Silverlight upgrade headache - Hashtable Pin
Mark Salsbery17-Feb-09 5:18
Mark Salsbery17-Feb-09 5:18 
GeneralRe: Another Silverlight upgrade headache - Hashtable Pin
devvvy17-Feb-09 15:25
devvvy17-Feb-09 15:25 
GeneralRe: Another Silverlight upgrade headache - Hashtable Pin
Mark Salsbery17-Feb-09 15:34
Mark Salsbery17-Feb-09 15:34 
GeneralRe: Another Silverlight upgrade headache - Hashtable Pin
Mark Salsbery17-Feb-09 15:39
Mark Salsbery17-Feb-09 15:39 
GeneralRe: Another Silverlight upgrade headache - Hashtable Pin
devvvy17-Feb-09 22:53
devvvy17-Feb-09 22:53 
GeneralRe: Another Silverlight upgrade headache - Hashtable Pin
Mark Salsbery17-Feb-09 22:55
Mark Salsbery17-Feb-09 22:55 
GeneralRe: Another Silverlight upgrade headache - Hashtable Pin
pieterbosteels17-Feb-09 22:47
pieterbosteels17-Feb-09 22:47 
GeneralRe: Another Silverlight upgrade headache - Hashtable Pin
devvvy17-Feb-09 22:52
devvvy17-Feb-09 22:52 
AnswerRe: Another Silverlight upgrade headache - Hashtable Pin
Braulio Dez12-Mar-09 23:14
Braulio Dez12-Mar-09 23:14 
QuestionProblem with DataGrid (selected rows) Pin
Czechtim216-Feb-09 12:35
Czechtim216-Feb-09 12:35 

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.