共用方式為


CFrameWndEx::IsMenuBarAvailable

Determines whether the pointer to the menu bar object is valid.

BOOL IsMenuBarAvailable() const;

Return Value

TRUE if the frame window has a menu bar; otherwise FALSE.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart