I need to update a section of a window at a high framerate, the reason being that building the whole screen is taking too long.
Is InvalidateRect what I need to use for this?
How does this work, does it build the whole screen but only update the rectangle requested? Or does it build only that section of screen (reducing time to build) and update it?
How do people use PREPAINT? I was clearing the screen in prepaint but if I do that and only update a section of the screen, only that section of the screen will be visible?
Thanks.
Is InvalidateRect what I need to use for this?
How does this work, does it build the whole screen but only update the rectangle requested? Or does it build only that section of screen (reducing time to build) and update it?
How do people use PREPAINT? I was clearing the screen in prepaint but if I do that and only update a section of the screen, only that section of the screen will be visible?
Thanks.