共用方式為


COleIPFrameWndEx::IsMenuBarAvailable

Determines whether the pointer to the menu bar object is not NULL

BOOL IsMenuBarAvailable() const;

Return Value

Returns a non-zero value if the frame window has a menu bar; otherwise returns 0.

Remarks

Call this method to determine whether the frame window maintains a non-NULL pointer to its menu bar object.

Requirements

Header: afxoleipframewndex.h

See Also

Reference

COleIPFrameWndEx Class

Hierarchy Chart