comctl32: Pass command id of button in wParam.

This commit is contained in:
Alexander Dorofeyev 2007-10-28 18:59:07 -07:00 committed by Alexandre Julliard
parent 0af358b52b
commit 77c376e0f8
1 changed files with 1 additions and 1 deletions

View File

@ -6374,7 +6374,7 @@ static LRESULT TOOLBAR_TTGetDispInfo (TOOLBAR_INFO *infoPtr, NMTTDISPINFOW *lpnm
/* last resort: send notification on to app */
/* FIXME: find out what is really used here */
return SendMessageW(infoPtr->hwndNotify, WM_NOTIFY, 0, (LPARAM)lpnmtdi);
return SendMessageW(infoPtr->hwndNotify, WM_NOTIFY, (WPARAM)lpnmtdi->hdr.idFrom, (LPARAM)lpnmtdi);
}