Share via


ScrollBarView_t::GetThumbPixel (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the top thumb coordinate for a vertical scrollbar and the left thumb coordinate for a horizontal scrollbar.

Syntax

static LONG GetThumbPixel(
  HWND hwnd,
  BOOL fVert,
  ScrollBarInfoInternal* psbii
);

Parameters

  • hwnd
    [in] Handle to the window control.
  • fVert
    [in] Boolean that specifies whether the scroll bar is vertical or horizontal. TRUE specifies that the scroll bar is vertical. FALSE specifies that the scroll bar is horizontal.
  • psbii
    [in] Pointer to a ScrollBarInfoInternal structure that specifies information about the scroll bar.

Return Value

The return value is either the y-coordinate of the top of the thumb for vertical scroll bars, or the x-coordinate of the left of the thumb for horizontal scroll bars.

Requirements

Header scrollview.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ScrollBarView_t
ScrollBarInfoInternal