Jump to content
Sign in to follow this  
trashy

ProgressBar set TopMost

Recommended Posts

trashy

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

Share this post


Link to post
Share on other sites
FireFox

Hi,
Edit the GUI styles like this :

GUICreate("Marquee Progress RTL", 500, 50, -1, -1, $WS_POPUP, $WS_EX_TOPMOST)

Br, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
trashy

Thank you FireFox

Had tried this with no success.

GUICreate("Marquee Progress RTL", 500, 50, $WS_POPUP, $WS_EX_TOPMOST)

DUH! You showed me. Worked like a charm.

Share this post


Link to post
Share on other sites
FireFox

You can mark the thread as solved ;)


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
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
Sign in to follow this  

×