Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

UpdatePanningFeedback function

Updates clients about state of a window resulting from a panning gesture. This function can only be called after a BeginPanningFeedback call.

Syntax


BOOL UpdatePanningFeedback(
  _In_  HWND hwnd,
  _In_  LONG lTotalOverpanOffsetX,
  _In_  LONG lTotalOverpanOffsetY,
  _In_  BOOL fInInertia
);

Parameters

hwnd [in]

Type: HWND

The handle to the target window that will receive feedback. For the method to succeed, this must be the same HWND as provided in BeginPanningFeedback.

lTotalOverpanOffsetX [in]

Type: LONG

The total displacement that the window has moved in the horizontal direction since the end of scrollable region was reached. A maximum displacement of 30 pixels is allowed.

lTotalOverpanOffsetY [in]

Type: LONG

The total displacement that the window has moved in the vertical direction since the end of scrollable region was reached. A maximum displacement of 30 pixels is allowed.

fInInertia [in]

Type: BOOL

Flag indicating whether the application is handling a WM_GESTURE message with the GF_INERTIA FLAG set.

Return value

Type: BOOL

TRUE if successful.

Remarks

Incremental calls to this function should always pass the sum of the increments and not just the latest increment itself.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Uxtheme.h

DLL

UxTheme.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.