...to 0,0 when the window is resized?
I'm learning windows programming and I'm working on a practice program that uses scroll bars. The only problem is that when the window is resized, the view shifts back to the upper left corner instead of remaining where it was scrolled to. After reviewing my program several times (becoming more and more frustrated), the only thing I can come up with is that Windows resets the origin to 0,0. Is this true, or do I need to keep looking for a problem in my program? I've looked around for some sort of documentation that says Yes or No but I've come up empty.