Compartilhar via


CMFCPopupMenuBar::StartPopupMenuTimer

Starts the timer for a specified delayed popup menu button.

void StartPopupMenuTimer(
   CMFCToolBarMenuButton* pMenuButton,
   int nDelayFactor = 1
);

Parameters

  • [in] pMenuButton
    Pointer to the menu button for which to set the delay timer.

  • [in] nDelayFactor
    A delay factor, equal to at least one, to multiply by the standard menu delay time (generally between a half second and five seconds).

Requirements

Header: afxpopupmenubar.h

See Also

Reference

CMFCPopupMenuBar Class

Hierarchy Chart