Jump to content
Sign in to follow this  
Armand

how do i make FileOpenDialog -> alwaysontop? [SOLVED]

Recommended Posts

Armand

do i have to use a user-build gui for that to happen or is there some other magical solution ?

please help, any help will be appreciated.

Thanks in advance!

Edited by Armand

[u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!

Share this post


Link to post
Share on other sites
The Ape

Just disable the window that opened it...

And enable it once the dialog is finished.

GUISetState(@SW_DISABLE, $GUI)
$notes = FileOpenDialog("Open...", "", "Text Files(*.txt)")
If @error Then
    MsgBox(0, "", "No File Chosen")
    GUISetState(@SW_ENABLE, $GUI)
Else
    ;;;do something with $notes
    GUISetState(@SW_ENABLE, $GUI)
EndIf

Share this post


Link to post
Share on other sites
Armand

@The Ape

Nice work-around, works like a charm !!! THANKS!


[u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!

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  

×