Home > Software engineering >  Beginners MFC, could you tell me how to switch the window background?
Beginners MFC, could you tell me how to switch the window background?

Time:09-19

After loading a background in onpaint, how to realize the load another one? Just click on a window switch at all?

CodePudding user response:

Inside the onpaint set the sign bit, and then respond to changing onlbuttondown flags, refreshes the screen

CodePudding user response:

reference 1st floor Mr_sandman1994 response:
inside the onpaint set the sign bit, and then respond to changing onlbuttondown flags, refresh interface

Emmm, that what I am not refresh

CodePudding user response:

refer to the second floor BaBa han reply:
Quote: refer to 1st floor Mr_sandman1994 response:
inside the onpaint set the sign bit, and then respond to changing onlbuttondown flags, refresh interface

Emmm, that what I am not refresh

Invalidate (). This function does not know
  • Related