Compartilhar via


CMFCMenuBar::OnDefaultMenuLoaded

The framework calls this method when it loads the menu resource from the resource file.

virtual void OnDefaultMenuLoaded(
   HMENU hMenu
);

Parameters

  • [in] hMenu
    The handle for the menu attached to the CMFCMenuBar object.

Remarks

The default implementation of this function does nothing. Override this function to execute custom code after the framework loads a menu resource from the resource file.

Requirements

Header: afxmenubar.h

See Also

Reference

CMFCMenuBar Class

Hierarchy Chart