Delen via


CMDIFrameWndEx::GetActivePopup

Returns a pointer to the currently displayed popup menu.

CMFCPopupMenu* GetActivePopup() const;

Return Value

A pointer to the active popup menu; NULL if no popup menu is active.

Remarks

Use this function to obtain a pointer to the CMFCPopupMenu Class object that is currently displayed.

Requirements

Header: afxMDIFrameWndEx.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart