user32: LB_DIR with standalone DDL_DRIVES implies DDL_EXCLUSIVE.

This commit is contained in:
Alex Villacís Lasso 2007-11-10 18:08:10 -05:00 committed by Alexandre Julliard
parent 873799df24
commit 08d945dadd
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{