mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 06:55:55 +00:00
[SHELL32] Implement Folder Options File Types 'Change' button (#629)
CORE-12906
This commit is contained in:
parent
6e6c46a832
commit
1b1e1baa6e
1 changed files with 3 additions and 1 deletions
|
@ -1704,8 +1704,10 @@ FolderOptionsFileTypesDlg(
|
||||||
pEntry = FileTypesDlg_GetEntry(GetDlgItem(hwndDlg, IDC_FILETYPES_LISTVIEW));
|
pEntry = FileTypesDlg_GetEntry(GetDlgItem(hwndDlg, IDC_FILETYPES_LISTVIEW));
|
||||||
if (pEntry)
|
if (pEntry)
|
||||||
{
|
{
|
||||||
|
ZeroMemory(&Info, sizeof(Info));
|
||||||
Info.oaifInFlags = OAIF_ALLOW_REGISTRATION | OAIF_REGISTER_EXT;
|
Info.oaifInFlags = OAIF_ALLOW_REGISTRATION | OAIF_REGISTER_EXT;
|
||||||
Info.pcszClass = pEntry->FileExtension;
|
Info.pcszFile = pEntry->FileExtension;
|
||||||
|
Info.pcszClass = NULL;
|
||||||
SHOpenWithDialog(hwndDlg, &Info);
|
SHOpenWithDialog(hwndDlg, &Info);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue