Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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:

The one and only

Dr. Madz

eee-m@il

Guest mutant
Posted
You could use the DrawString method of GDI+ in the paint event.
  • 2 weeks later...
Guest Deleted member 22320
Posted

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. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...