共用方式為


CTaskDialog::OnTimer

The framework calls this method when the timer expires.

virtual HRESULT OnTimer(
   long lTime
);

Parameters

  • [in] lTime
    Time in milliseconds since the CTaskDialog was created or the timer was reset.

Return Value

The default implementation returns S_OK.

Remarks

Override this method in a derived class to implement custom behavior.

Requirements

Header: afxtaskdialog.h

See Also

Reference

CTaskDialog Class

Hierarchy Chart

CTaskDialog::TaskDialogCallback