Jump to content

progress bar is invisible..wat to do ?


Velnes
 Share

Recommended Posts

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 :idiot: 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 :idiot:

Link to comment
Share on other sites

  • Moderators

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

#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 by Velnes
Link to comment
Share on other sites

  • Moderators

Velnes,

I used my own images and the progress bar is perfectly visible. Of course it does nothing, but it is there. :)

M23

P.S.

bcz others can steal and use as their own idea

Must be pretty high-powered images! ;)

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • Moderators

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

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 by Velnes
Link to comment
Share on other sites

  • Moderators

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 it

As I have alredy said, I get a perfectly normal progressbar. ;)

melba can i pm u the full thing in .rar

Please do. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • Moderators

Velnes,

I still get a perfectly normal progressbar with your images - which does not surprise me at all. :idiot:

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Other game botter spotted

Posted Image

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

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...