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 API used to hide window

2 Answers  


sql query for delete duplicate records in sql datadbase

0 Answers  


explain WM_PAINT message ?????

0 Answers  


describe process of creating a new class of windows ??

1 Answers  


What is an Hash Mapping in java?

0 Answers   Cisco, Syntel,






What is GDI object?

0 Answers  


how radio button is active in dialog box?

1 Answers  


What are the COM components

2 Answers   SunSoft Technologies,


About GDI object?

2 Answers  


Message to limit the size of window

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  


what is use of the createWindow object

4 Answers   HCL,


Categories