Jump to content

How to add a picture as a background..


Manjish
 Share

Recommended Posts

Hi,

I am sick of the plain colors as GUi backgrounds.. I have this nice texturized backgroung image. How Do I apply it to my GUI as the background!! I want to do a GUI like this image:

with edit boxes in plain white and background in texturized blue..

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Link to comment
Share on other sites

thanks that worked!! But i have another problem..

How do I make the background of gui items transperant?

Like in below image, the labels have their own background color which is making the gui look bad.. how do i make this transperant so that my bk will look proper? I know guictrlsetcolor() won't do the job..

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Link to comment
Share on other sites

thanks that worked!! But i have another problem..

How do I make the background of gui items transperant?

Like in below image, the labels have their own background color which is making the gui look bad.. how do i make this transperant so that my bk will look proper? I know guictrlsetcolor() won't do the job..

Use

GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)

Just after creating label


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

Hi thanks this is working fine for labels.. But doesn't work for input boxes.. any ideas how I can apply the same for input boxes and edit controls too?

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...