MenuHeight()

语法

Result = MenuHeight()
概要
Returns the height of the menu title bar. This allows the correct height of a window to be calculated when using a menu.

参数

无.

返回值

Returns the height in pixels of the menu bar.

Remarks

MacOS X: This command will always returns 0, as the menu bar isn't part of the window (it is always located on the main bar at the very top of the screen). Therefore MenuHeight() can be used seamlessly on every OS to adjust the window size depending on the actual menu height.

已支持操作系统

所有

<- MenuBar() - Menu Index - MenuID() ->