ScrollBarView_t::TrackThumb

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

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Scrollview.hpp.

See Also

ScrollBarInfoInternal

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.