AC_SBAREVENT

The AC_SBAREVENT event is posted to the event queue in response to the Windows WM_VSCROLL or WM_HSCROLL message. This event is generated ONLY for windows which have MANUALUPD scroll bars. AUTOUPD scrollbars are handled internally by Vermont Views.
Parameters (Windows/Web only)
Member Value Descripton
type AC_SBAREVENT Event Code
wmsg sbtype HSBAR or VSBAR
lmsg msg.wParam LOWORD(event.lmsg) = thumb position

HIWORD(event.lmsg) = scroll code

SB_BOTTOM

SB_ENDSCROLL

SB_LINEDOWN

SB_LINEUP

SB_PAGEDOWN

SB_PAGEUP

SB_THUMBPOSITION

x x position HSBAR = thumb position

VSBAR = wnp->col_org

y y position HSBAR = wnp->row_org

VSBAR = thumb position

when 0 not used
target WINDOWPTR pointer to the window containing the scroll bar
Related Information
Adding Manually updated scroll bars … VV User

Writing Event Functions

et_rplevnt()

Win32 Programmer's Reference - WM_VSCROLL, WM_HSCROLL


Home Contents Previous Next