How to open the "new" open folder dialog?
How to open the "new" open folder dialog?
when i use FileSelectFolder, it open old open folder dialog. how to open new dialog like this:
Re: How to open the "new" open folder dialog?
@Flipeador has written a function for it (but for v2)
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
Re: How to open the "new" open folder dialog?
AHKv1: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=65909&p=283111#p283101(specifically here).
@jNizM: My v2 code is out of date. I'll be updating it soon.
@jNizM: My v2 code is out of date. I'll be updating it soon.
Re: How to open the "new" open folder dialog?
How to show your "ChooseFolder dialog" as model dialog?Flipeador wrote: ↑18 Sep 2019, 08:59AHKv1: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=65909&p=283111#p283101(specifically here).
@jNizM: My v2 code is out of date. I'll be updating it soon.
Re: How to open the "new" open folder dialog?
The first parameter allows you to specify the owner window. Is that what you are referring to?.
Re: How to open the "new" open folder dialog?
I think that's not i need for, I need that if open Choose Folder dialog, you can't switch to the main window,and can't click any button in main windows, until you close Choose Folder dialog.
Re: How to open the "new" open folder dialog?
That's what it's for, try it:
Code: Select all
Gui +HWNDhGui
Gui Add, Button,, My Button
Gui Show, x10 y10 w100 h100
ChooseFolder( [hGui, "Dialog title - ChooseFolder.."] )
ExitApp
Re: How to open the "new" open folder dialog?
Thank you very much, this code work fine.