Home > Software engineering >  MFC window with transparent button variable size
MFC window with transparent button variable size

Time:09-18

Now I does the button on the transparent, is the parent window of the background to the button, now I maximize window, the size of the button to change with the size of the window, but not as transparent changed, caused some is not transparent, but also the background, a great god solve ah

CodePudding user response:

Break once, before I do is inherited button image rendering, have my own way to refresh
Don't remember

CodePudding user response:

What did your button to draw the picture?
When change the size of the button should be redrawn

CodePudding user response:

Invalidate refresh try

CodePudding user response:

The transparent button, is to change the size to obtain a background picture, or we will lack,
  • Related