c++ - what is invalidate,update methods do in VC++ -
I have little doubt about window functions in C ++. Is it really "invalidate ()" < Do / code> functions? What message does this send? When do we have to call this? Also, what is the
"update ()"
function? As with "invalidate ()"
function, "invalidaterect ()"
is similar.
Thank you
invalidates the whole client area of a window, which indicates Does that area have been outdated, and should be repainted again. You will usually call it on a control, which should be reproduced.
With invalid
functions, WM_PAINT
will be posted [ not strictly; See comments ] in the message queue and at some point in the future. Sent (in response to the post) sends a WM_PAINT
message, so that invalid areas can be removed immediately.
In fact, it's all in the docs.
Comments
Post a Comment