user32: LB_DIR with standalone DDL_DRIVES implies DDL_EXCLUSIVE.
This commit is contained in:
parent
873799df24
commit
08d945dadd
|
@ -1759,6 +1759,8 @@ static INT DIALOG_DlgDirListW( HWND hDlg, LPWSTR spec, INT idLBox,
|
|||
|
||||
if (idLBox && ((hwnd = GetDlgItem( hDlg, idLBox )) != 0))
|
||||
{
|
||||
if (attrib == DDL_DRIVES) attrib |= DDL_EXCLUSIVE;
|
||||
|
||||
SENDMSG( combo ? CB_RESETCONTENT : LB_RESETCONTENT, 0, 0 );
|
||||
if (attrib & DDL_DIRECTORY)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue