Freigeben über


CMFCMenuBar::SetMenuButtonRTC

Sets the runtime class information that the framework uses when the user creates menu buttons.

void SetMenuButtonRTC(
   CRuntimeClass* pMenuButtonRTC
);

Parameters

Remarks

When a user adds new buttons to the menu bar, the framework creates the buttons dynamically. By default, it creates CMFCMenuButton objects. Override this method to change the type of button objects that the framework creates.

Requirements

Header: afxmenubar.h

See Also

Reference

CMFCMenuBar Class

Hierarchy Chart