Programmer's Guide (程式設計師指南) > Interfaces > Window interface > menuBar attribute
  
menuBar attribute
The menu bar of the window.
menuBar
Access
read-only
Returns
MenuBar