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  


Function entry for DLL in win3.1

3 Answers  


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  


System call executable binary file into a process

2 Answers  


What is GDI object?

0 Answers  






what is the function to repaint a window immediately?

2 Answers  


What is Win32?

14 Answers   AAA, Genpact, HCL, Wipro,


How to load Bitmap at Dialogbakground in an MFC application?

1 Answers   SunSoft Technologies,


what is the difference between MFC and Win32

5 Answers   ArisGlobal, Microsoft,


java is pure object oriented programming language why?

3 Answers   HCL,


Message to limit the size of window

3 Answers  


what is the stack size in win 32 program

0 Answers  


Categories