![Argox PT-10 Скачать руководство пользователя страница 51](http://html.mh-extra.com/html/argox/pt-10/pt-10_programming-manual_2969261051.webp)
50
Menu_AddSubItem
Purpose
:
Use
Menu_AddSubItem
to increase the items and functions in the
menu.
Syntax
:
void Menu_AddSubItem(int nSubID, int nSubDataLen, const char*
pssSubData, int nGotoID, int nShortcut);
Example call
:
Menu_AddSubItem(0, strlen(buffer), buffer, 0, 1);
Includes
:
#include
“
UserLib.h
"
Description
:
The
Menu_AddSubItem
function increases the sub-item of the menu
elements.
nSubID
sets the rank order.
nGotoID
sets the ID code
returned after selecting the sub-item.
nShortcut
sets the hot key value.
pssSubData
sets display contents.
nSubDataLen
sets the length of
display contents.
Notes
:
Please refer to the example call to know the using method.
Menu_AddSubItem_H
Purpose
:
Use
Menu_AddSubItem_H
to increase the items and functions in the
menu and hiding setup.
Syntax
:
void Menu_AddSubItem_H(int nSubID, int nSubDataLen, const
char* pssSubData, int nGotoID, int nShortcut, int Hide);
Example call
:
Menu_AddSubItem_H(0, strlen(buffer), buffer, 0, 1, TRUE);
Includes
:
#include
“
UserLib.h
"
Description
:
The Menu_AddSubItem function increases the sub-item of the menu
elements.
nSubID
sets the rank order.
nGotoID
sets the ID code
returned after selecting the sub-item.
nShortcut
sets the hot key value.
pssSubData
sets display contents.
nSubDataLen
sets the length of
display contents.
Hide
sets hide (
TRUE
for hide and
FALSE
for
display).
Notes
:
Please refer to the example call to know the using method.
Menu_Create
Purpose
:
Use
Menu_Create
to provide the function of initialization for a
cycling menu.
Syntax
:
BOOL Menu_Create(int nTitleDataLen, const char* pssTitleData,
BOOL bTitleReverse, int nAmountSubItems);
Example call
:
Menu_Create(strlen(buffer), buffer, FALSE, 3); //open a cycling
menu and contents 3 sub-items.
Includes
:
#include
“
UserLib.h
"
Description
:
The
Menu_Create
function provides a cycling menu. The number of
sub-item was determined by
nAmountSubItems
and
pssTitleData
Содержание 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 ...