mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
Fixed wParam in WM_ENABLE ScrollBarWndProc.
svn path=/trunk/; revision=16572
This commit is contained in:
parent
3c13baae03
commit
2aed25b015
1 changed files with 1 additions and 1 deletions
|
@ -1273,7 +1273,7 @@ ScrollBarWndProc(HWND Wnd, UINT Msg, WPARAM wParam, LPARAM lParam)
|
|||
// SCROLL_RefreshScrollBar(hwnd, SB_CTL, TRUE, TRUE);
|
||||
// }
|
||||
DbgPrint("ScrollBarWndProc WM_ENABLE\n");
|
||||
NtUserEnableScrollBar(Wnd,SB_CTL,wParam);
|
||||
NtUserEnableScrollBar(Wnd,SB_CTL,(wParam ? ESB_ENABLE_BOTH : ESB_DISABLE_BOTH));
|
||||
/* Refresh Scrollbars. */
|
||||
HDC hdc = GetDCEx( Wnd, 0, DCX_CACHE | SB_CTL );
|
||||
if (!hdc) return 1;
|
||||
|
|
Loading…
Reference in a new issue