--- trunk/reactos/lib/user32/controls/scrollbar.c 2005-07-15 02:16:12 UTC (rev 16572)
+++ trunk/reactos/lib/user32/controls/scrollbar.c 2005-07-15 11:46:38 UTC (rev 16573)
@@ -1275,7 +1275,7 @@
DbgPrint("ScrollBarWndProc WM_ENABLE\n");
NtUserEnableScrollBar(Wnd,SB_CTL,(wParam ? ESB_ENABLE_BOTH : ESB_DISABLE_BOTH));
/* Refresh Scrollbars. */
- HDC hdc = GetDCEx( Wnd, 0, DCX_CACHE | SB_CTL );
+ HDC hdc = GetDCEx( Wnd, 0, DCX_CACHE );
if (!hdc) return 1;
IntDrawScrollBar( Wnd, hdc, SB_CTL);
ReleaseDC( Wnd, hdc );
--- trunk/reactos/subsys/win32k/ntuser/scrollbar.c 2005-07-15 02:16:12 UTC (rev 16572)
+++ trunk/reactos/subsys/win32k/ntuser/scrollbar.c 2005-07-15 11:46:38 UTC (rev 16573)
@@ -641,9 +641,9 @@
if(wSBflags == SB_CTL)
{
- /* FIXME */
+ /* FIXME Enable or Disable SB Ctrl*/
DPRINT1("Enable Scrollbar SB_CTL\n");
- InfoV = IntGetScrollbarInfoFromWindow(Window, SB_VERT);
+ InfoV = IntGetScrollbarInfoFromWindow(Window, SB_CTL);
Chg = IntEnableScrollBar(FALSE, InfoV ,wArrows);
/* Chg? Scrollbar is Refresh in user32/controls/scrollbar.c. */
IntReleaseWindowObject(Window);