CMFCPopupMenuBar::StartPopupMenuTimer

开始一个指定延迟的弹出菜单按钮的计时器。

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

参数

  • [in] pMenuButton
    对菜单按钮的指针可设置延迟计时器。

  • [in] nDelayFactor
    延迟因素,等于至少一个,乘以标准菜单延时 (通常在一个半秒和五秒之间。

要求

标头: afxpopupmenubar.h

请参见

参考

CMFCPopupMenuBar选件类

层次结构图