oxicottin
01-01-2013, 08:40 PM
Hello, I have an example of a workbook UserForm that the background is completely transparent and it has a few sample controls such as labels and buttons that are completely visible with no transparency unless I set sections of the controls to be transparent by using vbBlack. Anyway my question is even though I wanted a transparent background with visible controls I wanted the background to be semi transparent set to a percent of 40%.
The code uses SetLayeredWindowAttributes;
Public Const LWA_COLORKEY which will only set the selected color transparent and I cant figure out how to set it semi Transparent. I tried using Public Const LWA_ALPHA and i could set the transparency but it sets transparency to everything including the UserForm.
Thanks,
Chad
The code uses SetLayeredWindowAttributes;
Public Const LWA_COLORKEY which will only set the selected color transparent and I cant figure out how to set it semi Transparent. I tried using Public Const LWA_ALPHA and i could set the transparency but it sets transparency to everything including the UserForm.
Thanks,
Chad