mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 09:59:10 +02:00
Win32: implement TOpenOptionEx.ofExNoPlacesBar for pre-Vista style dialog. Resolves issue #41301.
This commit is contained in:
parent
ae5e5d4d6e
commit
43a9af055d
@ -727,6 +727,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