UpdatePanningFeedback function (uxtheme.h)
Updates clients about state of a window resulting from a panning gesture. This function can only be called after a BeginPanningFeedback call.
BOOL UpdatePanningFeedback( HWND hwnd, LONG lTotalOverpanOffsetX, LONG lTotalOverpanOffsetY, BOOL fInInertia );
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.
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.
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.
Flag indicating whether the application is handling a WM_GESTURE message with the GF_INERTIA FLAG set.
TRUE if successful.
Incremental calls to this function should always pass the sum of the increments and not just the latest increment itself.
|Minimum supported client||Windows 7 [desktop apps only]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps only]|