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 Win32?

14 Answers   AAA, Genpact, HCL, Wipro,


Function entry for DLL in win3.1

3 Answers  


What Message to limit the size of window?

1 Answers  


how to Initialize contents of a dialog?

2 Answers   TCS,


Hi All, i got through he h1b Lotreey in india. US staming in the consulate is pendding . i applied from india for H1b but currently i am in germany for 1 year .i wanted to know can i attend the interview in germany.

1 Answers   MultiVision,


What is System call executable binary file into a process?

1 Answers  


What is an Hash Mapping in java?

1 Answers   Cisco, Syntel,


Message to limit the size of window

3 Answers  


what is use of the createWindow object

4 Answers   HCL,


What is GDI object?

1 Answers  


win 3.1 supports which type of multi tasking?

2 Answers   TISL,


In Win32 application can we use CString datatype?

4 Answers  


Categories