diff options
Diffstat (limited to 'alf/alf.cpp')
| -rw-r--r-- | alf/alf.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/alf/alf.cpp b/alf/alf.cpp index aef4167..c22c30a 100644 --- a/alf/alf.cpp +++ b/alf/alf.cpp @@ -456,6 +456,19 @@ ALF_DefWindowProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) return ret; } + if (msg == WM_NOTIFY) { + NMHDR *nmhdr = (NMHDR *)lparam; + LRESULT ret = 0; + + if (nmhdr->hwndFrom) + ret = SendMessage(nmhdr->hwndFrom, 0x2000 + WM_NOTIFY, wparam, lparam); + + if (ret == 0 && priv->vtbl->notify) + ret = priv->vtbl->notify(priv->closure, hwnd, wparam, nmhdr); + + return ret; + } + if (msg == WM_ACTIVATE) { if (!HIWORD(wparam)) { // if !minimized if (LOWORD(wparam)) { |
