DoctorSLO Posted July 6, 2009 Share Posted July 6, 2009 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? Link to comment Share on other sites More sharing options...
OchoNueve Posted July 6, 2009 Share Posted July 6, 2009 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? 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 More sharing options...
DoctorSLO Posted July 6, 2009 Author Share Posted July 6, 2009 Yes, this is it. Thx I couldn't found it by myself, because there are strange names ... Link to comment Share on other sites More sharing options...
OchoNueve Posted July 6, 2009 Share Posted July 6, 2009 Yes, this is it.ThxI couldn't found it by myself, because there are strange names ...No problem. And yes the names are...well confusing [font="Times New Roman"]Ocho.[/font] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now