Syntax
bool AM_PaintRange(
MENU_HANDLE menu,
int IdOfStartLine,
int IdOfEndLine
);
Parameters
- menu
- [in] Menu handle
- IdOfStartLine
-
[in] Item ID of the first menu item in the range to be redrawn.
- IdOfEndLine
-
[in] Item ID of the last menu item in the range to be redrawn.
Return value
Returns true if the function succeeds, false otherwise.
Remarks
In the array of AM_MenuItem structures that define the menu, find the menu item whose item ID matches IdOfStartLine or IdOfEndLine and redraw the menu items in that range.Note that the menu item is not selected based on the magnitude of the item ID value.
Requirements
Header file:
lib.hLibrary file:
AdvancedMenu.h
libAdvancedMenu.a
libSTARTUPOPH5000.a
Last updated: 2020/10/09