comctl32: header: Send the width in HDN_BEGINTRACK.

This commit is contained in:
Mikołaj Zalewski 2006-05-17 01:13:45 +02:00 committed by Alexandre Julliard
parent 117b8e7927
commit 28e3ba552e
1 changed files with 1 additions and 1 deletions

View File

@ -1465,7 +1465,7 @@ HEADER_LButtonDown (HWND hwnd, WPARAM wParam, LPARAM lParam)
TRACE("Pressed item %d!\n", nItem);
}
else if ((flags == HHT_ONDIVIDER) || (flags == HHT_ONDIVOPEN)) {
if (!(HEADER_SendHeaderNotifyT (hwnd, HDN_BEGINTRACKW, nItem, 0, NULL))) {
if (!(HEADER_SendHeaderNotifyT (hwnd, HDN_BEGINTRACKW, nItem, HDI_WIDTH, NULL))) {
SetCapture (hwnd);
infoPtr->bCaptured = TRUE;
infoPtr->bTracking = TRUE;