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 is System call executable binary file into a process?

0 Answers  


In Win32 application can we use CString datatype?

4 Answers  


What is GDI object?

0 Answers  


What are the COM components

2 Answers   SunSoft Technologies,


to take three string inputs in a two dimensional array of 3 rows and 15 columns and write a function that prints them.

0 Answers  






what API used to hide window

2 Answers  


What is Function entry for DLL in win3.1?

0 Answers  


Message to limit the size of window

3 Answers  


explain WM_PAINT message ?????

0 Answers  


How will we unable and disable services in win 7 ?

2 Answers   McAfee, Microsoft,


In win32 application if defining a variable of CString then it gives the error "CString:Undeclared identifier" how to solve the problem? What headerfile need to include??

2 Answers  


win 3.1 supports which type of multi tasking?

2 Answers   TISL,


Categories