xsharp.eu • Transparent button in VO
Page 1 of 1

Transparent button in VO

Posted: Thu Mar 11, 2021 4:25 am
by GlenT
Experts,

Is there a (easy) way to make a button transparent so that the colour of the window is visible through the button so that
CI.png
CI.png (2.85 KiB) Viewed 404 times
looks like
DJC.png
DJC.png (2.8 KiB) Viewed 404 times
Regards

Glen Townsley

Transparent button in VO

Posted: Thu Mar 11, 2021 5:20 am
by wriedmann
Hi Glen,
if you don'tr use a 3rd party control: no.
The Windows API does not knows bitmaps with transparent background.
In Windows Forms this works.
Wolfgang

Transparent button in VO

Posted: Thu Mar 11, 2021 7:24 pm
by GlenT
Thanks Wolfgang. I suspected that would be the case but had to ask the question.

Cheers

Glen Townsley