共用方式為


SetDelayTime

 
Microsoft DirectShow 9.0

SetDelayTime

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.

Syntax

  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 Values

No return value.