ok, i've got a section of my window that i need to reprint with each iteration of my main while loop, and i've created a rectangle to invalidate (declared it, put in the coordinates). its name is "rect". so, i then make the following call:
however, it gives me the following error upon compilation:
not sure whats going on, i just started programming win32 a few days ago, not exactly good yet. any help would be greatly appreciated. thanks a lot.
'InvalidateRect' : cannot convert parameter 2 from 'struct tagRECT' to 'const struct tagRECT *'
hmm...still not working.
heres what i've got...
and it still does not redraw the rectangle within those coordinates. any ideas? thanks.
post your code. If large zip it up and attach.
Add an UpdateWindow() after you have invalidated a region to tell windows to redraw.
Use GetUpdateRect() in your WM_PAINT handler to recieve this area.
nevermind, i got it working.