On 5/23/07, Gopi Krishna Komanduri <[EMAIL PROTECTED]> wrote:
>   Hi All ,
>                 It is with respect to windows programming . sorry for posting 
> wrongly . But I strongly believe there will be atlest 1% windows programmers 
> and don't want to leave that chance.
>
>            I have a small query from long time like , if I painted some thing 
> on client area and then when I resized , the those won't be there.. How to 
> repaint all that stuff? I know one thing is like when we call begin paint (), 
> it will take care.. But if I don't want to call that function (if I want to 
> call that function , I need to call in WM_SIZE command I think , am I correct 
> ?) how to achieve? I think one way is to call every pixel RGB value and store 
> some where and again call to refill but I couldn't implement
it..


Your window will receive a WM_PAINT message when it needs to be
redrawn, and you need to do the painting in that handler.

-- 
Tamas Marki

Reply via email to