A way is with WIC
I tested the WICCreate32BitsPerPixelHBITMAP function (from MS) I had posted in this thread : https://learn.microsoft.com/en-us/answers/questions/642735/how-to-make-a-bitmap-with-alpha-using-transparentb
with a 32-bit BMP with Alpha channel in a menu item and it is transparent :