Click here to Skip to main content
15,881,248 members
Home / Discussions / C#
   

C#

 
GeneralRe: find files Pin
michaelgr129-May-09 7:15
michaelgr129-May-09 7:15 
GeneralRe: find files Pin
michaelgr129-May-09 7:52
michaelgr129-May-09 7:52 
GeneralRe: find files Pin
WinSolution29-May-09 6:57
WinSolution29-May-09 6:57 
Questionsql server 2000 DataBase Backup Pin
Yathish hatter29-May-09 2:16
Yathish hatter29-May-09 2:16 
AnswerRe: sql server 2000 DataBase Backup Pin
Manas Bhardwaj29-May-09 2:25
professionalManas Bhardwaj29-May-09 2:25 
AnswerRe: sql server 2000 DataBase Backup Pin
Satish Pai29-May-09 2:36
Satish Pai29-May-09 2:36 
AnswerRe: sql server 2000 DataBase Backup Pin
I Believe In GOD29-May-09 2:50
I Believe In GOD29-May-09 2:50 
QuestionHow to know when a Message Box has been shown for a form? Pin
The NULL Developer29-May-09 1:52
professionalThe NULL Developer29-May-09 1:52 
In my application, I have a task which is running on a background thread. I need a notification in the background thread when ever a MessageBox or any modal dialog is displayed in the UI thread.

Though I can do it manually by calling some function before displaying the MessageBox, but it will be great if I dont have to.

For e.g.:
backgroundThread.MessageShown(); // I do not want to call this explicitly every time!
MessageBox.Show("Task halted!");

I am guessing there might me some message which can be hooked on to. Even in the main GUI thread, is there any message/event that get fired just before a modal dialog is shown?

"Do first things first, and second things not at all."
Peter Drucker.

QuestionRe: How to know when a Message Box has been shown for a form? Pin
Rajesh R Subramanian29-May-09 1:57
professionalRajesh R Subramanian29-May-09 1:57 
AnswerRe: How to know when a Message Box has been shown for a form? Pin
The NULL Developer29-May-09 2:12
professionalThe NULL Developer29-May-09 2:12 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
Rajesh R Subramanian29-May-09 2:24
professionalRajesh R Subramanian29-May-09 2:24 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
The NULL Developer29-May-09 2:37
professionalThe NULL Developer29-May-09 2:37 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
DaveyM6929-May-09 2:34
professionalDaveyM6929-May-09 2:34 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
The NULL Developer29-May-09 2:40
professionalThe NULL Developer29-May-09 2:40 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
Dave Kreskowiak29-May-09 4:09
mveDave Kreskowiak29-May-09 4:09 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
The NULL Developer2-Jun-09 1:42
professionalThe NULL Developer2-Jun-09 1:42 
GeneralRe: How to know when a Message Box has been shown for a form? Pin
Dave Kreskowiak2-Jun-09 1:47
mveDave Kreskowiak2-Jun-09 1:47 
AnswerRe: How to know when a Message Box has been shown for a form? Pin
Dave Kreskowiak29-May-09 2:00
mveDave Kreskowiak29-May-09 2:00 
QuestionC# Articles & Ruler Pin
Baeltazor29-May-09 1:34
Baeltazor29-May-09 1:34 
AnswerRe: C# Articles & Ruler Pin
Pete O'Hanlon29-May-09 1:47
mvePete O'Hanlon29-May-09 1:47 
GeneralRe: C# Articles & Ruler Pin
Luc Pattyn29-May-09 1:57
sitebuilderLuc Pattyn29-May-09 1:57 
GeneralRe: C# Articles & Ruler Pin
Baeltazor29-May-09 2:13
Baeltazor29-May-09 2:13 
AnswerRe: C# Articles & Ruler Pin
Satish Pai29-May-09 2:02
Satish Pai29-May-09 2:02 
AnswerRe: C# Articles & Ruler Pin
Baeltazor29-May-09 2:12
Baeltazor29-May-09 2:12 
QuestionInline If problem Pin
MarkB12329-May-09 1:09
MarkB12329-May-09 1: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.