全局代码
<DLLImport("user32")> _Public Function ShowScrollBar(hwnd As IntPtr, wBar As Integer, bShow As Integer) As IntegerEnd Function
调用代码
Dim lvw As WinForm.ListView = e.Form.Controls("ListView1") Dim blvw = lvw.basecontrol blvw.Scrollable = False ShowScrollBar(blvw.Handle, 1, 1) lvw.View = ViewMode.List