Jump to content

GUI not showing up


Recommended Posts

This is so frustrating... im working on my little project late into the night when i meet this problem.

most likely im overseeing something because of fatigue, but i don't know.

anyways, my main GUI ($GUI) is not appearing, there isn't any error and the other child GUI's are showing up.

Global $GUI = GUICreate("Control Box",100,60,$x,$y,$WS_POPUP)
WinSetOnTop($GUI,"",1)
Global $xinput= GUICtrlCreateInput("x", 0, 0, 100, 30, $ES_AUTOHSCROLL+$ES_CENTER)
Global $yinput= GUICtrlCreateInput("y", 0, 30, 100, 30, $ES_AUTOHSCROLL+$ES_CENTER)
    Global $Top = GUICreate("Top Line", 250, 2,$x,$y + 40,$WS_POPUP,-1,$GUI)
    GUISetBkColor(0xFF0000)
    Global $Left = GUICreate("Left Line", 2, 250,$x,$y + 40,$WS_POPUP,-1,$GUI)
    GUISetBkColor(0xFF0000)
    Global $Right = GUICreate("Right Line", 2, 250,$x + 250 - 2,$y + 40,$WS_POPUP,-1,$GUI)
    GUISetBkColor(0xFF0000)
    Global $Bottom = GUICreate("Bottom Line", 250, 2,$x,$y + 40 + 250,$WS_POPUP,-1,$GUI)
    GUISetBkColor(0xFF0000)

someone please help.

I rule the world, bow in my honor.no, im not Zezima, but i bow down in his honor
Link to comment
Share on other sites

Maybe you missed GuiSetState ?

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
 Share

  • Recently Browsing   0 members

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