共用方式為


CMDIChildWnd::SetHandles

Sets the handles for menu and accelerator resources.

void SetHandles(
   HMENU hMenu,
   HACCEL hAccel
);

Parameters

  • hMenu
    The handle of a menu resource.

  • hAccel
    The handle of an accelerator resource.

Remarks

Call this function to set the menu and accelerator resources used by the MDI child window object.

Requirements

Header: afxwin.h

See Also

Reference

CMDIChildWnd Class

Hierarchy Chart

Other Resources

CMDIChildWnd Members