No, this is not "How do I clear the screen?" question. See my problem is I want a "new" option in my menu, which I have. The code of it just invalidates the client area and that works fine but it repaints the entir window(in the client area) including the menus and title bar. I used to accomplish the effect of clearing the screen with SendMessage and sending WM_PAINT but I recently switched to using a FrameBuffer so that option wont work anymore. Any suggestions?
PS..The code for my Invalidation is:
InvalidateRect (hwnd, &rectClient, TRUE) ;
and rectClient is already set to be the size fof the client area