Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Member Since 27 Nov 2013
Offline Last Active Today, 01:25 AM

#5193438 Text dissapearing when resizing or minimizing window.

Posted by SteveHatcher on 18 November 2014 - 09:14 AM

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?