Jump to content

ProgressBar set TopMost


Go to solution Solved by FireFox,

Recommended Posts

I like this Marquee style Progress Bar. Is it posssible to hide the title bar and set topmost?

Or at least hide minimize resize and close and set topmost?

Everything I tried seemed to have no effect.

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$dir = False

GUICreate("Marquee Progress RTL", 500, 50)
$Progress = GUICtrlCreateProgress(10, 10, 480, 25, 0x08, 0x500)
GUICtrlSendMsg($Progress, 0x040A, 1, 10)
GUISetState()
AdlibRegister("Reverse_Dir", 1550)

Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
Exit

Func Reverse_Dir()
    If $dir Then
        GUICtrlSetStyle($Progress, 0x08, 0x500)
        $dir = False
    Else
        GUICtrlSetStyle($Progress, 0x08, $WS_EX_LAYOUTRTL)
        $dir = True
    EndIf
EndFunc
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...