Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Want to make an explorer type window Pin
ns19-Sep-03 2:15
ns19-Sep-03 2:15 
GeneralRe: Want to make an explorer type window Pin
Jagadeesh VN18-Sep-03 11:35
Jagadeesh VN18-Sep-03 11:35 
GeneralBoth dialog windows has focus Pin
YaronNir18-Sep-03 10:31
YaronNir18-Sep-03 10:31 
GeneralRe: Both dialog windows has focus Pin
Stefan Pedersen18-Sep-03 13:14
Stefan Pedersen18-Sep-03 13:14 
GeneralSendMessage(MainWnd) from another thread Pin
Hosam Aly Mahmoud18-Sep-03 9:17
Hosam Aly Mahmoud18-Sep-03 9:17 
GeneralRe: SendMessage(MainWnd) from another thread Pin
David Crow18-Sep-03 9:47
David Crow18-Sep-03 9:47 
GeneralRe: SendMessage(MainWnd) from another thread Pin
Hosam Aly Mahmoud20-Sep-03 19:56
Hosam Aly Mahmoud20-Sep-03 19:56 
GeneralRe: SendMessage(MainWnd) from another thread Pin
Mike Dimmick19-Sep-03 3:39
Mike Dimmick19-Sep-03 3:39 
Can I see if I can clarify the question?

At this point in the secondary thread, you want to cause a message box to be displayed, but you want your secondary thread to continue running even though there's a message box up.

To do this, you'll need to post a message to your primary thread (probably to the main window) to cause it to create the message box, using PostMessage. Unlike SendMessage, PostMessage is non-blocking - it returns immediately after adding the message to the message queue of the thread that owns the window.

SendMessage blocks the sending thread until the receiving thread responds, by either returning from the window procedure or by calling ReplyMessage (desktop only; Windows CE does not offer this function). The return value of SendMessage is the return value of the window procedure, or the value passed to ReplyMessage.
GeneralRe: SendMessage(MainWnd) from another thread Pin
Hosam Aly Mahmoud20-Sep-03 19:54
Hosam Aly Mahmoud20-Sep-03 19:54 
GeneralConverting from Visual C++ 6 to Visual C++.NET Pin
vinodgs18-Sep-03 9:05
vinodgs18-Sep-03 9:05 
GeneralRe: Converting from Visual C++ 6 to Visual C++.NET Pin
Alvaro Mendez18-Sep-03 9:18
Alvaro Mendez18-Sep-03 9:18 
GeneralRe: Converting from Visual C++ 6 to Visual C++.NET Pin
vinodgs18-Sep-03 10:07
vinodgs18-Sep-03 10:07 
GeneralRe: Converting from Visual C++ 6 to Visual C++.NET Pin
Alvaro Mendez18-Sep-03 10:51
Alvaro Mendez18-Sep-03 10:51 
GeneralMultiple files used for input to SDI Application Pin
b_girl18-Sep-03 8:49
b_girl18-Sep-03 8:49 
GeneralRe: Multiple files used for input to SDI Application Pin
David Crow18-Sep-03 9:03
David Crow18-Sep-03 9:03 
GeneralRe: Multiple files used for input to SDI Application Pin
b_girl18-Sep-03 9:15
b_girl18-Sep-03 9:15 
GeneralRe: Multiple files used for input to SDI Application Pin
Alvaro Mendez18-Sep-03 9:25
Alvaro Mendez18-Sep-03 9:25 
GeneralRe: Multiple files used for input to SDI Application Pin
b_girl18-Sep-03 9:53
b_girl18-Sep-03 9:53 
GeneralRe: Multiple files used for input to SDI Application Pin
Alvaro Mendez18-Sep-03 10:47
Alvaro Mendez18-Sep-03 10:47 
GeneralRe: Multiple files used for input to SDI Application Pin
b_girl18-Sep-03 10:51
b_girl18-Sep-03 10:51 
GeneralRe: Multiple files used for input to SDI Application Pin
David Crow19-Sep-03 2:41
David Crow19-Sep-03 2:41 
GeneralRe: Multiple files used for input to SDI Application Pin
b_girl19-Sep-03 3:17
b_girl19-Sep-03 3:17 
GeneralRe: Multiple files used for input to SDI Application Pin
David Crow19-Sep-03 3:54
David Crow19-Sep-03 3:54 
GeneralRe: Multiple files used for input to SDI Application Pin
b_girl19-Sep-03 4:03
b_girl19-Sep-03 4:03 
GeneralRe: Multiple files used for input to SDI Application Pin
David Crow19-Sep-03 4:07
David Crow19-Sep-03 4:07 

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.