Madz Posted May 12, 2003 Posted May 12, 2003 I have an application which is used as a lock screen when PC is locked. i want to use that image on a form. which is full screen and without any border. This image is of size 800 x 600 . i used that image as a background image of the form . now i faced a problem in case if i run that application on resolution of 1024 * 768 then image is looking like splited and some image is shown below. If i try to use this image in a imagebox and make imagebox to anchor from Allside and set its display property to streatch image then it works properly but the Lable control on my form which has a back color properly to Transperant is unable to make it completely transparent now that label is showing on picture and making it very dull these things are in this sequence FORM --> ImageBOX --> Label Label is on the top of imagebox. How can i make is transparent. or some otherway to display text on image:mad: Quote The one and only Dr. Madz eee-m@il
Guest mutant Posted May 12, 2003 Posted May 12, 2003 You could use the DrawString method of GDI+ in the paint event. Quote
Guest Deleted member 22320 Posted May 21, 2003 Posted May 21, 2003 you can create your own label control set it to be transparent. (you need to inherit and do this yourself, otherwise you can't set it to be transparent) but the only problem would be that when the label is above the imagebox you will see thru the imagebox and see the form. my advice would be to look up the drawstring stuffs. :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.