Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CFrameWnd::OnShowMenuBar

CFrameWnd::OnShowMenuBar

This function is called when the system is about to display the menu bar in the current MFC application.

virtual void OnShowMenuBar();

This event handler enables your application to perform custom actions when the menu is about to be displayed. You cannot prevent the menu from being displayed, but you can, for example, call other methods to retrieve the menu style or state.

Header: afxwin.h

Show:
© 2015 Microsoft