
51
determines whether it will display the header title string or not.
nTitleDataLen
sets the length of title string.
bTitleReverse
determines
to be color-reversed or not. If you need to execute the cycling menu,
you must to call
Menu_Run
function first, and then the menu can be
used.
Returns
:
If creation is successful, it will return TRUE, otherwise returns
FALSE.
Notes
:
Please refer to the example call to know the using method.
Menu_Destory
Purpose
:
Use
Menu_Destory
to remove the function of cycling menu.
Syntax
:
void Menu_Destory(void);
Example call
:
Menu_Destory();
Includes
:
#include
“
UserLib.h
"
Description
:
The Menu_Destory function removes the cycling menu created by
Menu_Create on the screen.
Notes
:
Please refer to the example call to know the using method.
Menu_Run
Purpose
:
Use
Menu_Run
to enable the cycling menu function initialized by
Menu_Create
.
Syntax
:
int Menu_Run(int nSelectID);
Example call
:
Menu_Run(1); //Select the second item as the default reverse-color
bar selection.
Includes
:
#include
“
UserLib.h
"
Description
:
The
Menu_Run
function enables the cycling menu initialized by
Menu_Create
. Use
nSelectID
to set the default reverse-color bar
selection of the sub-item. Exection should be done after
Menu_Create
and
Menu_AddSubItem
function.
Returns
:
The
Menu_Run
function returns the
nGotoID
value of the sub-item
after selection.
Notes
:
Please refer to the example call to know the using method.
Menu_SetRent
Purpose
:
Use
Menu_Setrent
to set the cycling menu function’s scroll range.
Syntax
:
void Menu_SetRent(U16 umTopLinePos, U16 umButtomLinePos);
Example call
:
Menu_SetRent(1,3);// Menu scroll range is the second linetothe
fourth line.
Includes
:
#include
“
UserLib.h
"
Description
:
Use
Menu_SetRent
function can set the scroll range after use
Menu_Create
function.
Содержание PT-10
Страница 4: ...3 Keyboard Wedge 99 System 101 Power 102 Other 102 ...
Страница 13: ...12 6 Development Flow Chart ...
Страница 53: ...52 Returns No returns Notes ...