
Horizontal Scrolling of TreeView
Quote:
> I would love for someone to tell me how I can get a TreeView control to
> scroll horizontally so that the topmost level icons will show.
Declarations:
Public Const SB_PAGELEFT = 2
Public Const WM_HSCROLL = &H114
Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd
As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Code:
SendMessage TreeView.hwnd, WM_HSCROLL, SB_PAGELEFT, TreeView.hwnd
Hope this helps
Michael Cody