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:Code:InvalidateRect(hwnd,rect,TRUE);
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.Code:'InvalidateRect' : cannot convert parameter 2 from 'struct tagRECT' to 'const struct tagRECT *'