Tab control doesn't refresh tab area on TCM_SETCURSEL.

This commit is contained in:
Ulrich Czekalla 1999-10-23 16:51:34 +00:00 committed by Alexandre Julliard
parent c8a3f7acb2
commit 42a474ed65
1 changed files with 2 additions and 0 deletions

View File

@ -115,6 +115,8 @@ TAB_SetCurSel (HWND hwnd,WPARAM wParam)
if ((iItem >= 0) && (iItem < infoPtr->uNumItem)) {
prevItem=infoPtr->iSelected;
infoPtr->iSelected=iItem;
TAB_EnsureSelectionVisible(hwnd, infoPtr);
TAB_InvalidateTabArea(hwnd, infoPtr);
}
return prevItem;
}