Home > Software engineering >  How to make the bitmap partially transparent?
How to make the bitmap partially transparent?

Time:12-22

I'd like to add bitmap button, add bitmap after found the effect is not good, some don't need the white edge, by the side of the picture can you tell me how to make this part of the white transparent?

For online, TransparentBlt can realize transparent bitmap part, but the Internet is transparent dialog box processing, couldn't find how to make the button bitmap edge transparency,

Like me do a polygon bitmap button, which requires the edges transparent processing, could you tell me how to do?

 

M_bottonClose. LoadBitmaps (IDB_BITMAP5 IDB_BITMAP4);//m_bottonClose CBitmapButton class control variable
M_bottonClose. SizeToContent ();

CodePudding user response:

Here's a should be suited to you,
https://blog.csdn.net/leehong2005/article/details/8607581
  • Related