Gets the type of control set for the menu item.

Syntax

int AM_GetControlType(
  MENU_HANDLE menu,
  int id
);

Parameters

menu
[in] Menu handle
id
[in] Item ID of menu item.

Return value

Returns the type of control set for the menu item specified by id.

Remarks

Returns the showControl value of the AM_MenuItem structure of the menu item.

Requirements

Header file:
lib.h
AdvancedMenu.h
Library file:
libAdvancedMenu.a
libSTARTUPOPH5000.a

Last updated: 2020/10/09