diff options
Diffstat (limited to 'alf/alf.cpp')
| -rw-r--r-- | alf/alf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alf/alf.cpp b/alf/alf.cpp index 717bd18..8929a5b 100644 --- a/alf/alf.cpp +++ b/alf/alf.cpp @@ -523,7 +523,7 @@ void ALF_SetFocus(HWND target) { if (GetWindowStyle(target) & WS_CHILD) - PostMessage(GetParent(target), WM_NEXTDLGCTL, (WPARAM)target, TRUE); + SendMessage(GetParent(target), WM_NEXTDLGCTL, (WPARAM)target, TRUE); else - PostMessage(target, WM_NEXTDLGCTL, (WPARAM)target, TRUE); + SendMessage(target, WM_NEXTDLGCTL, (WPARAM)target, TRUE); } |
