http://bugs.winehq.org/show_bug.cgi?id=36841
Bug ID: 36841 Summary: Disabled Scrollbar controls does not get enables enable after SetScrollInfo Product: Wine Version: 1.6.2 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: minor Priority: P2 Component: comctl32 Assignee: wine-bugs@winehq.org Reporter: tulio150@mailinator.com
On windows, when you create a scrollbar control with WS_DISABLED, it initially has the usual disabled look, but when you call SetScrollInfo or SetScrollPos it is automatically enabled and fully functional.
Under wine, when you call SetScrollInfo on a disabled Scrollbar control, it just gets the enabled look, but is unclickable and doesn't get the keyboard focus, like it is still disabled. You have to explicitly call EnableWindow after to clear the WS_DISABLED bit.
Also, calling EnableWindow(FALSE) on it have no effect, it still have the enabled look.