how does the UIThread and worker thread communicates and
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
|Is This Answer Correct ?||1 Yes||3 No|
What is LoadLibrary function returns?
Have you ever used win32 APIs ?
what if we provide two message handler for same message ?
What is serialization ?which function is responsible for serializing data ?
What function is used to disable a control at runtime?
What MFC base classes provide support for ActiveX controls?
Psychic Window Technique
In VC++ How to transfer between one exe to another exe while running..
1) create ToolTip in MFC?
What is the difference between Synchronous sockets and asynchronous sockets?
how many types of classes are ther,what are that
Explain the flow of SDI application?