Condividi tramite


CToolTipCtrl::SetDelayTime

Sets the delay time for a tool tip control.

void SetDelayTime(
   UINT nDelay 
);
void SetDelayTime(
   DWORD dwDuration,
   int iTime 
);

Parameters

  • nDelay
    Specifies the new delay time, in milliseconds.

  • dwDuration
    Flag that specifies which duration value will be retrieved. See CToolTipCtrl::GetDelayTime for a description of the valid values.

  • iTime
    The specified delay time, in milliseconds.

Remarks

The delay time is the length of time the cursor must remain on a tool before the tool tip window appears. The default delay time is 500 milliseconds.

Requirements

Header: afxcmn.h

See Also

Reference

CToolTipCtrl Class

Hierarchy Chart

CToolTipCtrl::Activate

CToolTipCtrl::HitTest

CToolTipCtrl::GetDelayTime

TTM_SETDELAYTIME

Other Resources

CToolTipCtrl Members