Partager via


ScrollBarView_t::TrackThumb (Windows Embedded CE 6.0)

1/6/2010

This method determines where to position the scroll thumb given a specified point, then redraws the thumb at that location.

Syntax

static void TrackThumb(
  HWND hwnd,
  HDC hdc,
  POINT pt,
  BOOL fVert,
  ScrollBarInfoInternal* psbii
);

Parameters

  • hwnd
    [in] Handle to the control window.
  • hdc
    [in] Handle to the device context for the window.
  • pt
    [in] POINT structure that specifies the current tracking position of the thumb.
  • 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.

Requirements

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

See Also

Reference

ScrollBarView_t
ScrollBarInfoInternal