id summary reporter owner description type status milestone component version severity resolution keywords cc 1895 Bugs in _GUIScrollBars_Init() neil.wilson@… Jon "In _GUIScrollBars_Init(), when setting up the $tSCROLLINFO struct for both horizontal and vertical scroll bars, the code in _GUIScrollBars_Init() assigns the fMask as follows: DllStructSetData($tSCROLLINFO, ""fMask"", BitOR($_SCROLLBARCONSTANTS_SIF_PAGE, $_SCROLLBARCONSTANTS_SIF_PAGE)) This is incorrect as the range and page are being set for both scrollbars and should be: DllStructSetData($tSCROLLINFO, ""fMask"", BitOR($_SCROLLBARCONSTANTS_SIF_RANGE, $_SCROLLBARCONSTANTS_SIF_PAGE)) Also _GUIScrollBars_Init() states that -1 can be given for the $iHMax and the $ivMax. If however, $ivMax is not given or $ivMax = -1, then nMax in the $tSCROLLINFO for the vertical scrollbar will = -1 and not the default value of 27. DllStructSetData($tSCROLLINFO, ""nMax"", $ivMax) This should be: DllStructSetData($tSCROLLINFO, ""nMax"", $aSB_WindowInfo[$index][7]) " Bug closed 3.3.7.2 Standard UDFs 3.3.6.1 None Fixed GUIScrollBars_Init