mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +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:
|
||||
{
|
||||
if (HIWORD(wParam) == CBN_EDITCHANGE)
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue