I don't think so. look in:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003APR.1033/cpref/html/frlrfSystemWindowsFormsControlClassBackgroundImageTopic.htm
If you want the picture to be translucent, load the picture to a bitmap class and process the image to be translucent.
it's not the picture i wnt to have translucent, there isn't even a picture in it (don't let the class name 'picturebox' fool you), i want to see through the background.
the problem as i see it is that i can't extend the method that draws the background, and stop it from doing so. i can only gain access to PictureBox.Paint - which seems to be called after the background has been drawn opaque.
If I understand you right, you wish to make your form translucent, the window behind it or the desktop will be partly seen. You can set the Opacity property of the form between 0 to 100 percent.
i tried setting the background colour to one that was translucent (see code aove) and that didn't work. i can't find a property called alpha, opque, translucent, transparent or anything like that.
The color you chose is not translucent. The property is "Opacity". You can find it at the properties window. If you set it to 100%, the form will be normal. translucent is 50%.
nothing as such, i'm just trying to avoid any unessesary programming. i suspect that, when i get to work tomorrow, i will change it from picturebox to panel.
i got no love from the hyperlink you posted, but thanks anyway. you've confirmed what i was hoping you wouldn't.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.