how does the UIThread and worker thread communicates and
handle events
Answers were Sorted based on User's Feedback
Answer / vikram
UI thread and Worker thread can communicate with each other using SendMessage() or PostMessage().SendMessage() returns when the message is used by the Thread. PostMessage Returns immediately. These two method require Window handle of the UI Thread.
One can also use PostThreadMessage(thread id, message).here UI thread id is required.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vishnu
Worker threads are used to process in back and can not
modify any user interface directly.
Ex: Used to calculate some complicated calculations.
UI threads can change user interface directly
Ex: Used to change UI display images in windows MFC
application
| Is This Answer Correct ? | 1 Yes | 3 No |
What is the use of UpdateData funciton ?
What is the command routing in MFC framework?
Hi All, i am new for VC++ SDK. i want to get the IP Address of all the External device connected with my local machine.please give the code Regards, Praveer
How we call a dialog in another dialog?
How many types of dialog box are their
if i modified data in 1 view how does the other view knows
How to convert a CString variable to char* or LPTSTR?
Given two processes, how can they share memory?
What does mfc stand for?
What is the initial function to be called in MFC and what it will do
how many types of classes are ther,what are that
Explain Doc/View architecture