XLL+ Class Library (7.0)

CXllPushApp::SetRefreshPeriod

Sets the time in milliseconds between calls to RefreshFromApplication()

BOOL SetRefreshPeriod(
   long lMillisecs
);

Parameters

lMillisecs

The new value of the period in milliseconds. See remarks below.

Return Value

The function returns TRUE if the function succeeds, FALSE for failure.

Remarks

In order to keep track of connected cells that may have been moved by the user, the push engine periodically checks for changes to connected cells, by calling RefreshFromApplication(). This method controls the time in milliseconds between these checks.

This function may only be called from the main thread.

Requirements

Header: xlppush.h

See Also

CXllPushApp Class | CXllPushApp Methods | CXllPushApp::GetRefreshPeriod() | CXllPushApp::SetTickPeriod() | CXllPushApp::GetTickPeriod()