mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 10:39:08 +02:00
LCL: use new Windows GUI for TSelectDirectoryDialog. Issue #23521, patch from Reinier Olislagers
git-svn-id: trunk@39620 -
This commit is contained in:
parent
780febb55a
commit
0df6e1f978
@ -1310,7 +1310,7 @@ begin
|
|||||||
lpszTitle := PWideChar(Title);
|
lpszTitle := PWideChar(Title);
|
||||||
ulFlags := BIF_RETURNONLYFSDIRS;
|
ulFlags := BIF_RETURNONLYFSDIRS;
|
||||||
if not (ofOldStyleDialog in Options) then
|
if not (ofOldStyleDialog in Options) then
|
||||||
ulFlags := ulFlags + BIF_NEWDIALOGSTYLE;
|
ulFlags := ulFlags + BIF_USENEWUI;
|
||||||
lpfn := @BrowseForFolderCallback;
|
lpfn := @BrowseForFolderCallback;
|
||||||
// this value will be passed to callback proc as lpData
|
// this value will be passed to callback proc as lpData
|
||||||
lParam := Windows.LParam(PWideChar(InitialDirW));
|
lParam := Windows.LParam(PWideChar(InitialDirW));
|
||||||
|
Loading…
Reference in New Issue
Block a user