Jump to content

Transparent InputBox


Joke758
 Share

Recommended Posts

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!

Link to comment
Share on other sites

  • Moderators

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

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.

Link to comment
Share on other sites

  • Moderators

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

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.

Link to comment
Share on other sites

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

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

Edited by Joke758

[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!

Link to comment
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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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