COleIPFrameWndEx::GetActivePopup

Returns a pointer to the currently displayed pop-up menu.

CMFCPopupMenu* GetActivePopup() const;

Return Value

A pointer to the active pop-up menu; otherwise NULL.

Remarks

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

Requirements

Header: afxoleipframewndex.h

See Also

Reference

COleIPFrameWndEx Class

Hierarchy Chart