lParam was not properly sent in TTM_ADDTOOLW.

This commit is contained in:
Carlos 2002-10-28 18:50:36 +00:00 committed by Alexandre Julliard
parent 392defd3ef
commit 5803819971
1 changed files with 1 additions and 0 deletions

View File

@ -2370,6 +2370,7 @@ TOOLBAR_AddButtonsW (HWND hwnd, WPARAM wParam, LPARAM lParam)
ti.uId = btnPtr->idCommand;
ti.hinst = 0;
ti.lpszText = LPSTR_TEXTCALLBACKW;
ti.lParam = lParam;
SendMessageW (infoPtr->hwndToolTip, TTM_ADDTOOLW,
0, (LPARAM)&ti);