Click here to Skip to main content
15,884,629 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Scaling woes Pin
Ray Hayes4-Jun-08 2:32
Ray Hayes4-Jun-08 2:32 
GeneralRe: Scaling woes Pin
TJoe4-Jun-08 2:37
TJoe4-Jun-08 2:37 
GeneralRe: Scaling woes Pin
Ray Hayes4-Jun-08 2:45
Ray Hayes4-Jun-08 2:45 
GeneralRe: Scaling woes Pin
TJoe4-Jun-08 2:47
TJoe4-Jun-08 2:47 
GeneralRe: Scaling woes Pin
TJoe4-Jun-08 2:50
TJoe4-Jun-08 2:50 
GeneralRe: Scaling woes Pin
Ray Hayes4-Jun-08 2:52
Ray Hayes4-Jun-08 2:52 
GeneralRe: Scaling woes Pin
Member 36739221-Jul-09 19:56
Member 36739221-Jul-09 19:56 
Questionerror while opening new window from a Asynchronou callback function Pin
vayanan31-May-08 11:15
vayanan31-May-08 11:15 
Hi all.
When I open a new window from an Asynchronou CallBack Function, an Exception is thrown.

The Exception is "The calling thread must be STA, because many UI components require this wpf"

If I set ApartmentState of the thread to STA using the code Thread.CurrentThread.SetApartmentState(ApartmentState.STA) it is not working...showing an error Failed to set the specified COM apartment state.

How can I open a new window from different Thread, and modify the controls contents?

Please Help me to solve this problem...

Thanks in Advance
Vayanan
AnswerRe: error while opening new window from a Asynchronou callback function Pin
User 2710091-Jun-08 11:25
User 2710091-Jun-08 11:25 
QuestionRouted Command passing data Pin
Jammer31-May-08 7:39
Jammer31-May-08 7:39 
AnswerRe: Routed Command passing data Pin
User 2710091-Jun-08 11:27
User 2710091-Jun-08 11:27 
GeneralRe: Routed Command passing data Pin
Jammer1-Jun-08 12:32
Jammer1-Jun-08 12:32 
GeneralRe: Routed Command passing data Pin
User 2710092-Jun-08 1:07
User 2710092-Jun-08 1:07 
GeneralRe: Routed Command passing data Pin
Pete O'Hanlon2-Jun-08 1:19
mvePete O'Hanlon2-Jun-08 1:19 
GeneralRe: Routed Command passing data Pin
Jammer2-Jun-08 8:15
Jammer2-Jun-08 8:15 
QuestionHow to set the font a bit "bold" in WPF? Pin
robin.zeng30-May-08 3:41
robin.zeng30-May-08 3:41 
AnswerRe: How to set the font a bit "bold" in WPF? Pin
Jammer30-May-08 5:32
Jammer30-May-08 5:32 
QuestionCanvas with custom coordinate system? Pin
N3croman29-May-08 10:27
N3croman29-May-08 10:27 
AnswerRe: Canvas with custom coordinate system? Pin
Leblanc Meneses29-May-08 21:39
Leblanc Meneses29-May-08 21:39 
QuestionSaving a rotation Pin
Rohde29-May-08 6:17
Rohde29-May-08 6:17 
AnswerRe: Saving a rotation Pin
Rohde29-May-08 7:48
Rohde29-May-08 7:48 
QuestionDetermine image format Pin
Rohde29-May-08 0:22
Rohde29-May-08 0:22 
AnswerRe: Determine image format Pin
ChandraRam29-May-08 1:31
ChandraRam29-May-08 1:31 
GeneralRe: Determine image format Pin
Rohde29-May-08 2:11
Rohde29-May-08 2:11 
GeneralRe: Determine image format Pin
ChandraRam29-May-08 2:23
ChandraRam29-May-08 2:23 

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.