mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:32:57 +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);
|
// SCROLL_RefreshScrollBar(hwnd, SB_CTL, TRUE, TRUE);
|
||||||
// }
|
// }
|
||||||
DbgPrint("ScrollBarWndProc WM_ENABLE\n");
|
DbgPrint("ScrollBarWndProc WM_ENABLE\n");
|
||||||
NtUserEnableScrollBar(Wnd,SB_CTL,wParam);
|
NtUserEnableScrollBar(Wnd,SB_CTL,(wParam ? ESB_ENABLE_BOTH : ESB_DISABLE_BOTH));
|
||||||
/* Refresh Scrollbars. */
|
/* Refresh Scrollbars. */
|
||||||
HDC hdc = GetDCEx( Wnd, 0, DCX_CACHE | SB_CTL );
|
HDC hdc = GetDCEx( Wnd, 0, DCX_CACHE | SB_CTL );
|
||||||
if (!hdc) return 1;
|
if (!hdc) return 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue