Jump to content
Sign in to follow this  
Armand

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

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

@The Ape

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

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  

×
×
  • Create New...