mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 01:48:31 +00:00
[SHELL32] Enable OK Run dialog button on combo change (#7909)
CORE-20125
This commit is contained in:
parent
2fe3073697
commit
b42b015cc6
1 changed files with 4 additions and 2 deletions
|
@ -755,9 +755,11 @@ static INT_PTR CALLBACK RunDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARA
|
||||||
case IDC_RUNDLG_EDITPATH:
|
case IDC_RUNDLG_EDITPATH:
|
||||||
{
|
{
|
||||||
if (HIWORD(wParam) == CBN_EDITCHANGE)
|
if (HIWORD(wParam) == CBN_EDITCHANGE)
|
||||||
{
|
|
||||||
EnableOkButtonFromEditContents(hwnd);
|
EnableOkButtonFromEditContents(hwnd);
|
||||||
}
|
|
||||||
|
// Delay handling dropdown changes until the edit box has been updated.
|
||||||
|
if (HIWORD(wParam) == CBN_SELCHANGE)
|
||||||
|
PostMessage(hwnd, message, MAKELONG(IDC_RUNDLG_EDITPATH, CBN_EDITCHANGE), lParam);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue