mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 02:10:08 +02:00
Win32: implement TOpenOptionEx.ofExNoPlacesBar for pre-Vista style dialog. Resolves issue #41301.
(cherry picked from commit 43a9af055d
)
This commit is contained in:
parent
0b0cc5d47e
commit
4ef9ee5aeb
@ -735,6 +735,8 @@ begin
|
||||
nMaxFile := FileNameBufferLen + 1; // Size in TCHARs
|
||||
lpfnHook := Windows.LPOFNHOOKPROC(@OpenFileDialogCallBack);
|
||||
Flags := GetFlagsFromOptions(AOpenDialog.Options);
|
||||
if (ofExNoPlacesBar in AOpenDialog.OptionsEx) then
|
||||
FlagsEx := OFN_EX_NOPLACESBAR;
|
||||
New(DialogRec);
|
||||
// new initializes the filename fields, because ansistring and widestring
|
||||
// are automated types.
|
||||
|
Loading…
Reference in New Issue
Block a user