Partager via


CToolTipCtrl::GetDelayTime

Retrieves the initial, pop-up, and reshow durations currently set for a tool tip control.

int GetDelayTime( 
   DWORD dwDuration  
) const;

Parameters

  • dwDuration
    Flag that specifies which duration value will be retrieved. This parameter can be one of the following values:

    • TTDT_AUTOPOP   Retrieve the length of time the tool tip window remains visible if the pointer is stationary within a tool's bounding rectangle.

    • TTDT_INITIAL   Retrieve the length of time the pointer must remain stationary within a tool's bounding rectangle before the tool tip window appears.

    • TTDT_RESHOW   Retrieve the length of time it takes for subsequent tool tip windows to appear as the pointer moves from one tool to another.

Return Value

The specified delay time, in milliseconds

Remarks

This member function implements the behavior of the Win32 message TTM_GETDELAYTIME, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CToolTipCtrl Class

Hierarchy Chart

CToolTipCtrl::SetDelayTime