Ok, I have found this from M$, but I need it converted to VB.
VB APICode:typedef struct tagSCROLLBARINFO { DWORD cbSize; RECT rcScrollBar; int dxyLineButton; int xyThumbTop; int xyThumbBottom; int reserved; DWORD rgstate[CCHILDREN_SCROLLBAR+1]; } SCROLLBARINFO, *PSCROLLBARINFO, *LPSCROLLBARINFO;Or maybe subclass the lvw and trap for the WM_VSCROLL message. Or test somehow for the SBS_VERT scrollbar style???VB Code:
Private Declare Function GetScrollBarInfo Lib "user32.dll" (ByVal hwnd As Long, _ ByVal idObject As Long, ByRef psbi As PSCROLLBARINFO) As Long





Reply With Quote