mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 22:40:56 +02:00
win32: use ofEnableSizing to choose dialog kind when ofOldStyleDialog is used. Patch from Martok, issue #30406
git-svn-id: trunk@52741 -
This commit is contained in:
parent
6f8636dc39
commit
ac2fa94876
@ -1190,7 +1190,7 @@ begin
|
|||||||
ulFlags := BIF_RETURNONLYFSDIRS;
|
ulFlags := BIF_RETURNONLYFSDIRS;
|
||||||
if not (ofCreatePrompt in Options) then
|
if not (ofCreatePrompt in Options) then
|
||||||
ulFlags := ulFlags + BIF_NONEWFOLDERBUTTON;
|
ulFlags := ulFlags + BIF_NONEWFOLDERBUTTON;
|
||||||
if not (ofOldStyleDialog in Options) then
|
if (ofEnableSizing in Options) then
|
||||||
// better than flag BIF_USENEWUI, to hide editbox, it's not handy
|
// better than flag BIF_USENEWUI, to hide editbox, it's not handy
|
||||||
ulFlags := ulFlags + BIF_NEWDIALOGSTYLE;
|
ulFlags := ulFlags + BIF_NEWDIALOGSTYLE;
|
||||||
lpfn := @BrowseForFolderCallback;
|
lpfn := @BrowseForFolderCallback;
|
||||||
|
Loading…
Reference in New Issue
Block a user