Jump to content

GUIctrlCreatePic over GUI


Recommended Posts


how I can create pic over all GUI creation?

so, when I open dialog box, GUICreate, I would like

that all GUI is under my img.

This is a script example with use $GUI_HIDE when I press the button HIDE IMG

but the label is every visible. If use this script for my application I must set all GUI to $GUI_HIDE

and when I press button set all GUI to $GUI_SHOW and img to $GUI_HIDE

this is the expensive solution...

can I help me? tks

#include <GUIConstants.au3>
GUICreate("My GUI picture",400,420,-1,-1,$WS_SIZEBOX+$WS_SYSMENU)  ; will create a dialog box that when displayed is centered

GUISetBkColor (0xE0FFFF)
$img=GUICtrlCreatePic(@ScriptDir & "\img\logo.jpg",10,10, 350,350)
GUICtrlCreateLabel ("testing",30,30,360,16);,BitOr($SS_SIMPLE,$SS_SUNKEN)
$hide=GUICtrlCreateButton ("HIDE IMG", 200,370,75,30)
GUISetState ()

; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
    If $msg = $hide Then GUIctrlSetState($img, $GUI_HIDE)
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Link to comment
Share on other sites


maybe SlpashImageOn

So long,


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

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

  • Recently Browsing   0 members

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