In WndProc you have a switch(msg), one possible value for msg is "WM_SIZE", which is fired when the window is resized...
Hi, I think I understand, and commented out those 2 lines of code, but the text still disappears. Thanks
You should do all your drawing inside the WM_PAINT handler, otherwise it will be overwritten when the client area is redrawn.
Hi, I have found a few other posts mention this too, but I am not sure how to implement it. How should I structure the code to work like this?