If application hangs while SendMessage is waiting for the
result, how you handle it?

Answers were Sorted based on User's Feedback



If application hangs while SendMessage is waiting for the result, how you handle it?..

Answer / indranil

You can use PostMessage API instead.

Is This Answer Correct ?    15 Yes 2 No

If application hangs while SendMessage is waiting for the result, how you handle it?..

Answer / nambirajan

Instead of SendMessage API i will use the SendMessageTimeout
API to solve the system hang

Is This Answer Correct ?    6 Yes 3 No

Post New Answer

More MFC Interview Questions

How to handle command line arguements from simple MFC application ?

2 Answers   TCS,


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

2 Answers  


How to convert a CString variable to char* or LPTSTR?

5 Answers   Dover,


if both base and derived class have the constructors if i create an object for derive class which class constructor is executed first

10 Answers   Siemens, Symphony,


1)To Remove WS_MINIMIZEBOX in a Frame ?

1 Answers  


What is the base class for MFC

3 Answers   HCL,


1)does Frame Thickness in MFC?

1 Answers   winfoware,


1)At run-time, you can change the icon by calling the LoadIcon() function?

2 Answers  


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

0 Answers  


1)How to change the size of a button at run time ?

1 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,


Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,


Categories