sumit Posted July 15, 2007 Share Posted July 15, 2007 This is my script. CODE #include <GuiConstants.au3> GuiCreate("Connecting", 217, 40,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) GUISetFont (12) $Label_1 = GuiCtrlCreateLabel("Please Wait for 5 seconds", 80, 10, 100, 20) GUISetState() Sleep(5000) GUIDelete() I want to do 3 things 1. Remove the Minimize Maximize and Close parts. If possible the title bar section itself. 2. Display Background of the window in white colour. 3. Please wait should be in the center of the window. Can you please give suggestions . Link to comment Share on other sites More sharing options...
Siao Posted July 15, 2007 Share Posted July 15, 2007 (edited) 1. $WS_POPUP 2. GUISetBkColor(0xFFFFFF) 3. $SS_CENTER and the most important, 4. RTFM Edited July 15, 2007 by Siao "be smart, drink your wine" Link to comment Share on other sites More sharing options...
sumit Posted July 15, 2007 Author Share Posted July 15, 2007 1. $WS_POPUP2. GUISetBkColor(0xFFFFFF)3. $SS_CENTERand the most important, 4. RTFMThanks but Im Kind a new so can you please give me the code. Link to comment Share on other sites More sharing options...
Siao Posted July 15, 2007 Share Posted July 15, 2007 (edited) $gui = GuiCreate("Connecting", 217, 40,-1, -1 , BitOR($WS_POPUP, $WS_BORDER), $WS_EX_TOPMOST) GUISetBkColor(0xFFFFFF) GUISetFont(12) $Label_1 = GuiCtrlCreateLabel("Please Wait for 5 seconds", 0, 10, 217, 20, $SS_CENTER) GUISetState() Sleep(5000) GUIDelete($gui) Edited July 15, 2007 by Siao "be smart, drink your wine" 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