Site hosted by Angelfire.com: Build your free website today!

XNode Return Parameter - menuSpecs

XNode Return Parameters

Summary:Pop-up Menu Specifications (only returned from BldPopUp)
"A menu specification is an array of menu items. A menu item is a strict type definition made up of a cluster containing a string and some flags."
Located:C:\Program Files\National Instruments\LabVIEW 7.1\Utility\XNodeSupport.llb\XMenuSpec.ctl
Type:An array of cluster typedefs; each containing a string item and a long flags.
item:Title of the item in the right-click pop-up menu.
flags:This is a long that specifies the flags that determine the behavior of the terminal.
The pop-up menu items are ordered in the order at which they are in the array.
Other flags (items in parentheses are what happens when the flag is not set):
  • 0x1: unlisted (listed - normal)
  • 0x2: checked (not checked)
  • 0x4: disabled (enabled)
  • 0x8: menu (individual item)
  • 0x10: ?
  • 0x20: ?
  • 0x40: ?
Examples:
  • Item with flag of 0x0: appears on menu as a single item.
  • Item with a flag of 0xA (0x2 + 0x8): Appears as a menu with a check mark, next items that follow are items inside the menu.

XNode Return Parameters