Home > Software engineering >  I rewrote the shape of the button, can you tell me how to clear the background color of buttons?
I rewrote the shape of the button, can you tell me how to clear the background color of buttons?

Time:12-10



Static text has realized transparent background, but after I drag the static text, discovered the color of background and static text (static text background color for the generated location dialog background color)!!!!!!

And my graphic buttons, how to make the background transparent?


Bosses save the children

CodePudding user response:

//circle button
CRgn rg.
Rg. CreateEllipticRgn (0, 0, CIRCLE_DIA CIRCLE_DIA);
PBn [m_iBn] - & gt; SetWindowRgn (rg, TRUE);
DeleteObject (rg);
  • Related