Open topic with navigation
WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
xcall MB_TEXT(control, text[, justification])
The menu control structure. (a)
The text to add to the column. (a)
(optional) One of the following justification flags: (n)
0 = Left-justified beneath heading. (default)
1 = Right-justified beneath heading.
2 = Centered beneath heading.
MB_TEXT adds a row of text to a new column. This subroutine is used when building a new menu column at runtime.
The added text is not a menu entry; it’s just a comment displayed in the menu column. On Windows, text in a menu column can be highlighted, but the user will not be able to select it.
If justification is present and has a value of 1, text will be right-justified within the row. If justification has a value of 2, text will be centered in the row.
See the MB_BLANK Examples, which use all the “MB_xxx” subroutines.