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

what is the use of Mutex and critical section

2 Answers  


how can u change button shape at run time

3 Answers   Samsung,


How can i implement the dynamic menus in MFC plz give the code

2 Answers  


Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?

2 Answers   Sony,


What is the difference between the ASSERT and VERIFY macros?

4 Answers  






Will there be any difference in the image buffer size if it is loaded in from CString to LPTSTR using GetBuffer()? lptstr = string.GetBuffer(0);

2 Answers  


How to setup a timer?

3 Answers   IBM,


1) create ToolTip in MFC?

2 Answers   HCL,


How you create a button dynamically?

2 Answers  


1)does Frame Thickness in MFC?

1 Answers   winfoware,


19)how to set Back Ground Picture to a Dialog Box in MFC ?

1 Answers  


Types of DLL's

11 Answers   Invensys,


Categories