Skip to main content
Version: 21 R4 BETA

Menu bar height

Menu bar height : Integer

ParameterTypeDescription
Function resultInteger←Height (expressed in pixels) of menu bar (returns zero if menu bar is hidden)
History
ReleaseChanges
6Created

Description​

Menu bar height returns the height of the menu bar, expressed in pixels.

The command returns 0:

  • if the menu bar is hidden
  • in SDI mode on Windows, if it is called from a process without a form window. For more information on this mode, please refer to the SDI mode on Windows section.

Note: When the application is running in SDI mode on Windows, Menu bar height returns the height of a single menu bar line even if the window is narrowed and the menu bar has been wrapped on two or more lines.

See also​

HIDE MENU BAR
Menu bar screen
SHOW MENU BAR

Properties​

Command number440
Thread safeno