queensoft Posted June 15, 2016 Posted June 15, 2016 (edited) How the **** do I get this browse for folder dialog style (image 1) ? I used this, with all flag combinations (1, 2, 4) - but I always get the second style (image 2). Local $fold01 = FileSelectFolder("Please select folder", '') I'm using Windows 7 x64 and AutoIt 3.3.14.2. I think I solved it once, even kept the source code on some old DVD, but I cannot find it anymore. Edited June 15, 2016 by queensoft
Moderators Melba23 Posted June 15, 2016 Moderators Posted June 15, 2016 queensoft, The Help file suggests that the flags are only useful if you run XP and that later OS versions will use the full dialog regardless: The new vista+ dialog style is used if possible, regardless of the Use New Dialog Style flag. With the vista dialog style the edit control and create folder buttons are always shown, ignoring the flags parameter, and the dialog text parameter sets the title of the window. If you want something simpler then the full Windows "dog and pony show" that MS now force you to use, you might like to take a look at my ChooseFileFolder UDF - the link is in my sig. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
queensoft Posted June 15, 2016 Author Posted June 15, 2016 (edited) Thank you for the quick reply, downloaded the ZIP and testing now. Also found another solution by myself, seems to be working: http://www.autoitx.com/archiver/tid-4897.html Hmmm, Melba23, seems the script is not working. Same result if I use flag 0 (zero) "Entire folder tree and all matching files within folders - only files can be selected" Found solution: did not add $sRet = _CFF_RegMsg() Is that the problem, is that really necessary ? Edited June 15, 2016 by queensoft
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now