SetDelayTime

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Note

This component is available for use in the Microsoft Windows 2000, Windows XP, and Windows Server 2003 operating systems. It may be altered or unavailable in subsequent versions.

 

The SetDelayTime method sets the delay time for the ToolTip associated with the MSWebDVD object.

MSWebDVD.SetDelayTime(iDelayType, iNewVal)

Parameters

iDelayType

Specifies the type of delay as an Integer.

Value Description
-1 To reset the autopop delay time to its default value, set iNewVal to -1.
0 Set the length of time a ToolTip window remains visible if the pointer is stationary within a tool's bounding rectangle.
1 Set the length of time a pointer must remain stationary within a tool's bounding rectangle before the ToolTip window appears.
2 Set the length of time it takes for subsequent ToolTip windows to appear as the pointer moves from one tool to another.
3 Set all delay times to default proportions. The autopop time is ten times the initial time and the reshow time is one-fifth the initial time. If this flag is set, use a positive value of iNewVal to specify the initial time, in milliseconds.

 

iNewVal

Specifies the delay, in milliseconds, as an Integer.

Value Description
-1 Sets the delay specified in iDelayType to its default value
any other negative value Sets all delay types to their default value.

 

Return Value

No return value.