Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This message retrieves the initial, pop-up, and reshow durations currently set for a ToolTip control.

Syntax

TTM_GETDELAYTIME 
wParam = (DWORD) 
dwDuration;

lParam = 0;

Parameters

dwDuration

DWORDthat specifies the type of duration that you want to retrieve. The following table shows the possible values.

Value Description

TTDT_AUTOPOP

Retrieves the length of time the ToolTip window remains visible if the pointer is stationary within the bounding rectangle of a tool.

TTDT_INITIAL

Retrieves the length of time the pointer must remain stationary within the bounding rectangle of a tool before the ToolTip window appears.

TTDT_RESHOW

Retrieves the length of time that elapses before subsequent ToolTip windows appear when the pointer moves from one tool to another.

lParam

Not used. Set to 0.

Return Value

The return value is an integer value that contains the specified duration in milliseconds.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also