ShwHidScrbar




Private Declare Function ShowScrollBar Lib "user32" _
(ByVal hwnd As Long, ByVal wBar As Long, ByVal bShow As Long) As Long

'

' Where ....

' hWnd is the hWnd of the control

' wBar is 0-Hor, 1-Vertical, 3-Both

' bShow is True or False


'eg.


ShowScrollBar List1.hwnd, 1, False ' hides scrollbar of list1 control on form










( shwhidscrbar.html )- by Paolo Puglisi - Modifica del 17/12/2023