共用方式為


CMFCPopupMenu::IsIdle

Indicates whether a pop-up menu is currently idle.

virtual BOOL IsIdle() const;

Return Value

TRUE if the pop-up menu is in idle mode; otherwise FALSE.

Remarks

By default, a pop-up menu is in idle mode if the display animation is complete and the user is not scrolling the pop-up menu.

Requirements

Header: afxpopupmenu.h

See Also

Reference

CMFCPopupMenu Class

Hierarchy Chart