Velnes Posted January 23, 2011 Share Posted January 23, 2011 hi im creating a launcher and im using $WS_POPUP and $WS_EX_LAYERED and ive created progress bar in this window but its invisible bcz im using $WS_EX_LAYERED and have an image on launcher as window and the window dragging works when dragging the window itself/the image ... if u get me so i need a solve for the progress bar plz,ive tryed with 2 windows putting one under that launcher window but the other window wont move the same time with the launcher window ... so i dont rly know more lol epic writing here,so much of it...srry Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 23, 2011 Moderators Share Posted January 23, 2011 Velnes,Welcome to the AutoIt forum. Please post the code with which you are having trouble - it makes debugging so much easier. When you post the code please use Code tags. Put [autoit ] before and [/autoit ] after your code (but omit the trailing space - it is only there so the tags display here). M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Velnes Posted January 23, 2011 Author Share Posted January 23, 2011 (edited) expandcollapse popup#include <IE.au3> #include <INet.au3> #include <GUIConstantsEx.au3> #include <ButtonConstants.au3> #include <ComboConstants.au3> #include <WindowsConstants.au3> #Include <WinAPI.au3> #include <StaticConstants.au3> #Include <Constants.au3> #include <SendMessage.au3> #include <GuiButton.au3> #include <File.au3> #include <ProgressConstants.au3> #include <GuiTab.au3> #include <TabConstants.au3> #include <GuiSlider.au3> #include <Date.au3> #include <Timers.au3> #include <GuiStatusBar.au3> #include <ClipBoard.au3> #Include <String.au3> #include <TreeViewConstants.au3> #include <Misc.au3> #include <ClipBoard.au3> #include <EditConstants.au3> #Include <String.au3> #include <GuiEdit.au3> #include <Sound.au3> #NoTrayIcon Global Const $SC_DRAGMOVE = 0xF012 Global $iMemo $GUI = GUICreate('', 750, 700, -1, -1, $WS_POPUP, $WS_EX_LAYERED) GUICtrlCreatePic("Launcher\UI\launcher.bmp",0,0, 750, 700) GUICtrlSetState(-1, $GUI_DISABLE) ; Do not forget to disable the background $Exit = GUICtrlCreateButton("", 19, 170, 35, 53, $BS_BITMAP) _GUICtrlButton_SetImage($Exit,"Launcher\UI\exit.bmp") $Minimize = GUICtrlCreateButton("", 19, 230, 35, 30, $BS_BITMAP) _GUICtrlButton_SetImage($Minimize,"Launcher\UI\minimize.bmp") InetGet("http://www.talismanbrasil.com/server/update/NEWS.LIF", @TempDir & "\NEWS.LIF") $NEWS_LIF = FileRead(@TempDir & "\NEWS.LIF") GUICtrlCreateEdit($NEWS_LIF,50, 382, 408, 133,$ES_READONLY) $Update_Bar = GUICtrlCreateProgress(50, 560, 300, 20) GUISetState(@SW_SHOW) $Link_AD = filereadline("Launcher\Data\config\AD.LIF") While 1 Switch GUIGetMsg() Case $GUI_EVENT_PRIMARYDOWN ; Mouse button down _SendMessage($GUI, $WM_SYSCOMMAND, $SC_DRAGMOVE, 0) ; Tell GUI to drag with the mouse Case $Exit Exit 1 Case $Minimize GUISetState(@SW_MINIMIZE) EndSwitch WEnd u wont see it tho...bcz u need the pics with it.. which i dun wana rly post bcz others can steal and use as their own idea Edited January 23, 2011 by Velnes Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 23, 2011 Moderators Share Posted January 23, 2011 Velnes,I used my own images and the progress bar is perfectly visible. Of course it does nothing, but it is there. M23P.S.bcz others can steal and use as their own ideaMust be pretty high-powered images! Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Velnes Posted January 23, 2011 Author Share Posted January 23, 2011 (edited) no but the progress bar itself is transparnt.. just click on progress with mouse ull see its like a hole in a wall .. if u understand wat i mean Edited January 23, 2011 by Velnes Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 23, 2011 Moderators Share Posted January 23, 2011 Velnes, No, it is a perfectly normal progress bar which I can make run normally. Are you sure you have given us all the relevant code? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Velnes Posted January 23, 2011 Author Share Posted January 23, 2011 (edited) yes all of it .man run the script.. and on the window u see the progress bar xD but when u move mouse on it... u can press through it im using image.bmp format the picture i made it on photoshop... melba can i pm u the full thing in .rar ? with pics etc. maybe ur pic isnt saved same format as mine Edited January 23, 2011 by Velnes Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 23, 2011 Moderators Share Posted January 23, 2011 Velnes,man run the script.. and on the window u see the progress bar xD but when u move mouse on it... u can press through itAs I have alredy said, I get a perfectly normal progressbar. melba can i pm u the full thing in .rarPlease do. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 23, 2011 Moderators Share Posted January 23, 2011 Velnes,I still get a perfectly normal progressbar with your images - which does not surprise me at all. However, I am no longer interested in the problem as I see that your script is game-related - you have read this I take it? Bye. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Newb Posted January 24, 2011 Share Posted January 24, 2011 Other game botter spotted I'm a compulsive poster. When I post something, come to read it at least 5 minutes later after the posting, because I will edit it. I edited even this signature a few minutes later after I wrote it. 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