Click here to Skip to main content
15,564,500 members
Home / Discussions / C#
   

C#

 
QuestionHow to know when a Message Box has been shown for a form? Pin
The NULL Developer29-May-09 2:52
professionalThe NULL Developer29-May-09 2:52 
QuestionRe: How to know when a Message Box has been shown for a form? Pin
Rajesh R Subramanian29-May-09 2:57
professionalRajesh R Subramanian29-May-09 2:57 
AnswerRe: How to know when a Message Box has been shown for a form? Pin
The NULL Developer29-May-09 3:12
professionalThe NULL Developer29-May-09 3:12 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
Rajesh R Subramanian29-May-09 3:24
professionalRajesh R Subramanian29-May-09 3:24 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
The NULL Developer29-May-09 3:37
professionalThe NULL Developer29-May-09 3:37 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
DaveyM6929-May-09 3:34
professionalDaveyM6929-May-09 3:34 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
The NULL Developer29-May-09 3:40
professionalThe NULL Developer29-May-09 3:40 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
Dave Kreskowiak29-May-09 5:09
mveDave Kreskowiak29-May-09 5:09 
The NULL Developerand I have to show progress on a separate dialog, which is been shown on a worker thread


So you're saying that the progress dialog is launched by the background thread instead of the UI thread? If so, there's your problem. ALL UI, including the progress dialog should be created on the UI thread, not a background thread. You can invoke a method from the background thread to update the progress bar. If you can't change this, you're pretty much screwed. There is no notification your app is about to create a new dialog.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: How to know when a Message Box has been shown for a form? Pin
The NULL Developer2-Jun-09 2:42
professionalThe NULL Developer2-Jun-09 2:42 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
Dave Kreskowiak2-Jun-09 2:47
mveDave Kreskowiak2-Jun-09 2:47 
AnswerRe: How to know when a Message Box has been shown for a form? Pin
Dave Kreskowiak29-May-09 3:00
mveDave Kreskowiak29-May-09 3:00 
QuestionC# Articles & Ruler Pin
Baeltazor29-May-09 2:34
Baeltazor29-May-09 2:34 
AnswerRe: C# Articles & Ruler Pin
Pete O'Hanlon29-May-09 2:47
mvaPete O'Hanlon29-May-09 2:47 
GeneralRe: C# Articles & Ruler Pin
Luc Pattyn29-May-09 2:57
sitebuilderLuc Pattyn29-May-09 2:57 
GeneralRe: C# Articles & Ruler Pin
Baeltazor29-May-09 3:13
Baeltazor29-May-09 3:13 
AnswerRe: C# Articles & Ruler Pin
Satish Pai29-May-09 3:02
Satish Pai29-May-09 3:02 
AnswerRe: C# Articles & Ruler Pin
Baeltazor29-May-09 3:12
Baeltazor29-May-09 3:12 
QuestionInline If problem Pin
MarkB12329-May-09 2:09
MarkB12329-May-09 2:09 
AnswerRe: Inline If problem Pin
Pete O'Hanlon29-May-09 2:11
mvaPete O'Hanlon29-May-09 2:11 
GeneralRe: Inline If problem Pin
MarkB12329-May-09 2:49
MarkB12329-May-09 2:49 
AnswerRe: Inline If problem Pin
stancrm29-May-09 2:13
stancrm29-May-09 2:13 
GeneralRe: Inline If problem Pin
OriginalGriff29-May-09 2:16
mvaOriginalGriff29-May-09 2:16 
GeneralRe: Inline If problem Pin
Pete O'Hanlon29-May-09 2:37
mvaPete O'Hanlon29-May-09 2:37 
GeneralRe: Inline If problem Pin
stancrm29-May-09 2:48
stancrm29-May-09 2:48 
GeneralRe: Inline If problem Pin
Pete O'Hanlon29-May-09 2:56
mvaPete O'Hanlon29-May-09 2:56 

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.