次の方法で共有


CMFCDesktopAlertWnd::SetAutoCloseTime

Sets the auto-close time out.

void SetAutoCloseTime(
    int nTime 
);

Parameters

  • [in] nTime
    The time, in milliseconds, that elapses before the alert window automatically closes.

Remarks

The alert window is automatically closed after the specified time if the user does not interact with the window.

Requirements

Header: afxDesktopAlertWnd.h

See Also

Reference

CMFCDesktopAlertWnd Class

Hierarchy Chart