Expand Minimize
0 out of 1 rated this helpful - Rate this topic

CMDIFrameWndEx::OnShowPopupMenu

Called by the framework when it opens a pop-up menu.

virtual BOOL OnShowPopupMenu(
   CMFCPopupMenu*  
);

TRUE if the pop-up menu is to be displayed. Otherwise, FALSE. The default implementation returns TRUE.

Override this method if you want to implement special processing upon pop-up menu activation. For example, if you want to change regular menu items to color menu buttons, set up tear-off bars, and so on.

The default implementation does nothing.

Header: afxMDIFrameWndEx.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.