Sign in to follow this  
Followers 0
Joke758

Transparent InputBox

9 posts in this topic

how to make a transparent inputbox? Because I have a picture in the backgroud and inputbox is white. Doesn't fit together. How can I make it transparent?


[u]My Programs:[/u]Word Search Creator - Make your own Word SearchShortHand - Hide a secret message in a jpg fileHex Editor - Edit your Binary fileIncrease file size - Increase the size of any filesArt Generator - A program that generate random picture[u]My Functions:[/u]16-Bits Hash - My Hash function similar to MD5Probabilities - My probabilities function (factorial, permuation, combination)_GetDate() - Convert a date to a day of the week_Base(), _Dec() - Convert a number in any base (bin, oct, hex, dec). Create your own!

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

how to make a transparent inputbox? Because I have a picture in the backgroud and inputbox is white. Doesn't fit together. How can I make it transparent?

Have you tried.

GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)
After you created the input box to see if that would work?

Edit... that seems to only work on Label.

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

i am pretty sure you can play with this code and make it work

http://www.autoitscript.com/forum/index.ph...st&p=156429

8)

I believe he's talking about a GUI input control (I got that from him using a picture).

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Yes I am talking about a input box in a GUI...

GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) doesn't work.. :P

Edited by Joke758
1 person likes this

[u]My Programs:[/u]Word Search Creator - Make your own Word SearchShortHand - Hide a secret message in a jpg fileHex Editor - Edit your Binary fileIncrease file size - Increase the size of any filesArt Generator - A program that generate random picture[u]My Functions:[/u]16-Bits Hash - My Hash function similar to MD5Probabilities - My probabilities function (factorial, permuation, combination)_GetDate() - Convert a date to a day of the week_Base(), _Dec() - Convert a number in any base (bin, oct, hex, dec). Create your own!

Share this post


Link to post
Share on other sites

The special flag $GUI_BKCOLOR_TRANSPARENT can be used with label and picture controls to give them a transparent background.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

so... it's impossible?


[u]My Programs:[/u]Word Search Creator - Make your own Word SearchShortHand - Hide a secret message in a jpg fileHex Editor - Edit your Binary fileIncrease file size - Increase the size of any filesArt Generator - A program that generate random picture[u]My Functions:[/u]16-Bits Hash - My Hash function similar to MD5Probabilities - My probabilities function (factorial, permuation, combination)_GetDate() - Convert a date to a day of the week_Base(), _Dec() - Convert a number in any base (bin, oct, hex, dec). Create your own!

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

yes... for a log-in???

create the gui

create the pic

set pic as disabled

create a label - transparent

create a button to submit ( or whatever)

while loop

if _Ispressed() ; see help or link below

$read = guictrlread() the label

set the label data $read & $key_pressed

endif

if message = submit then.....

wend

link... for _IsPressed

http://www.autoitscript.com/forum/index.ph...;hl=_ispressed#

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

Create your own input control, lol. Thats the only thing you can do.

;example -

1. ONLY if the window is activated do,

2. Check for the keys that are pressed,

3. Crate a base label,

4. Add to the label the key that was pressed.

but i guess that is too much work, for such a simple question :)

Edited by CHRIS95219

Share this post


Link to post
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
Sign in to follow this  
Followers 0