I would like to add the feuture to my users to be able do use an 32bit Bitmap as my form-bakground.
The form is currently making anything on the itself (pictures, controls etc.) which has the color pink (RGB(255,0,255)) completly transparent, and has the alphablending feuture (semi-transparent forms).
I would like to know if anyone knows the techniques that programs like Samurize (.com) uses to load a 24bit PNG (with alphablending) into the app. I would like to skip the pink-transparency feuture in my app, and instead add 24bit PNG or 32bit Bitmaps feutures into it.
I've tried loading a 32bit bitmap into a form's Picture-property, but this doesn't use the transparency feuter as i saw that the pixels which should be semi/completly transparent went white.
Any ideas, clues, hints or examples is very appreciated!
The skinning part of my app loads all pictures for the app into variables (Dim var as Picture), and then the form-bakground's and the picturebox's (used as an button) pictures (.Picture) is set to their variables ('frmMain.Picture = imgBg' for example). I have no idea on how to use the code you gave for skinning picture-boxes, which have got different images for normal and down state (and Hover-state if possible). If anyone could give me ideas, advices or examples of this, i would be very grateful.
Also, does anyone have any idea on what method of skinning is the best, simplest and/or fastest?