Sign in to follow this  
Followers 0
Joke758

GUI Help

5 posts in this topic

When I put a picture in background, I can't click on any inputboxes, buttons..

I have to press TAB to change inputbox. If I remove the background, I can click.

How can I fix this without removing my background?

Thanks.


[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



It will be easer to help you if you show the script....


AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

try this one. I can't click the button.

;Koda
#include <GUIConstants.au3>

$Form1 = GUICreate("AForm1", 622, 441, 192, 125)
$Pic1 = GUICtrlCreatePic("", 0, 0, 609, 433)
$Input1 = GUICtrlCreateInput("click here", 160, 104, 121, 21, -1, $WS_EX_CLIENTEDGE)
$Button1 = GUICtrlCreateButton("Try to click me", 240, 256, 97, 41)
GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
        ;;;
    EndSelect
WEnd
Exit
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!

Share this post


Link to post
Share on other sites

Try using this line GUICtrlSetState(-1, $GUI_DISABLE)

#include <GUIConstants.au3>

$Form1 = GUICreate("AForm1", 622, 441, 192, 125)
$Pic1 = GUICtrlCreatePic("c:\windows\web\wallpaper\bliss.bmp", 0, 0, 609, 433)
GUICtrlSetState(-1, $GUI_DISABLE)
$Input1 = GUICtrlCreateInput("click here", 160, 104, 121, 21, -1, $WS_EX_CLIENTEDGE)
$Button1 = GUICtrlCreateButton("Try to click me", 240, 256, 97, 41)
GUISetState(@SW_SHOW)
While 1
$msg = GuiGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
Case $msg = $Button1
    MsgBox(0, 'Press', 'Button1')
Case Else
;;;
EndSelect
WEnd
Exit

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

Share this post


Link to post
Share on other sites

Thanks!


[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

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