what is the function to repaint a window immediately?

Answers were Sorted based on User's Feedback



what is the function to repaint a window immediately?..

Answer / guest

Invalidate() -- To repaint the entire client area
InvalidateRect() -- To repaint a specific portion of the
client area.

Is This Answer Correct ?    21 Yes 0 No

what is the function to repaint a window immediately?..

Answer / naviyr

InvalidateRect/Validate functions causes WM_PAINT message to
be placed in the windows message queue. On the other hand,
UpdateWindow will cause WM_PAINT message to be sent directly
to the window procedure for repaint activity.

Is This Answer Correct ?    9 Yes 1 No

Post New Answer

More Win32API Interview Questions

what are the design patterns of an MFC application

5 Answers   Samsung, SunSoft Technologies,


explain WM_PAINT message ?????

0 Answers  


What is an Hash Mapping in java?

0 Answers   Cisco, Syntel,


java is pure object oriented programming language why?

3 Answers   HCL,


what is the difference between MFC and Win32

5 Answers   ArisGlobal, Microsoft,






what API used to hide window

2 Answers  


Message to limit the size of window

3 Answers  


write About send message and post message

4 Answers  


what Message displayed when a window is destroyed

3 Answers  


What is preemption ? context switching ?

3 Answers  


Explain Win32 Program Execution flow?

0 Answers  


win 3.1 supports which type of multi tasking?

2 Answers   TISL,


Categories