Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how does the UIThread and worker thread communicates and
handle events

Answers were Sorted based on User's Feedback



how does the UIThread and worker thread communicates and handle events..

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

how does the UIThread and worker thread communicates and handle events..

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

Post New Answer

More MFC Interview Questions

What is the difference between Struts and JSF? Pls list some most suitable differences.

0 Answers  


What is LoadLibrary function returns?

7 Answers  


How we can findout Memoryleaks, In what way it can be avoided

6 Answers   Infosys,


Why not virtual functions to handle messages?

5 Answers  


1)does Frame Thickness in MFC?

1 Answers   winfoware,


how to give colour for dialog button or static buuto?any one explain full code ?pls pls

3 Answers  


visual Pogramming c++ coding for create a paint application.. (Please someone help me)

2 Answers  


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

1 Answers   TCS, Tech Mahindra,


What view class enables you to use an edit control as a view?

1 Answers  


What is the base class for MFC Framework ?

4 Answers  


plzz tell me what we can do and dont in tally ERP & sap business one?

0 Answers  


What is CArchive class dowes?

4 Answers  


Categories