Jump to content

Loading screen


Recommended Posts

Hi.

I want to make loading screen when the script starts ...

Here is code:

GUICreate("Travian Farmer - loading ...", 277, 232, 403, 238)
GUICtrlCreatePic("files/logo.jpg", 0, 0, 275, 205, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$startloading = GUICtrlCreateProgress(0, 205, 276, 26, $PBS_SMOOTH)
GUICtrlSetColor(-1, 0x00FF00)
GUICtrlSetBkColor(-1, 0xC0DCC0)
GUISetState(@SW_SHOW)

But the problem is, that this is shown in window (you can see minimize, maximize and exit buttons) ... so how can I remove them?

Posted Image

Link to comment
Share on other sites

Hi.

I want to make loading screen when the script starts ...

Here is code:

GUICreate("Travian Farmer - loading ...", 277, 232, 403, 238)
GUICtrlCreatePic("files/logo.jpg", 0, 0, 275, 205, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$startloading = GUICtrlCreateProgress(0, 205, 276, 26, $PBS_SMOOTH)
GUICtrlSetColor(-1, 0x00FF00)
GUICtrlSetBkColor(-1, 0xC0DCC0)
GUISetState(@SW_SHOW)

But the problem is, that this is shown in window (you can see minimize, maximize and exit buttons) ... so how can I remove them?

Posted Image

In the function GUICreate(), the 6th input is "style". Look at the GUICreate() help file page, then read up on the "style" arguments. Looking at it briefly, it looks to me that you want something like $WS_POPUP.

[font="Times New Roman"]Ocho.[/font]
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...