3 - 6
padFieldButton
Creates a button and displays it on the pad screen. Commands can be executed when the button is pressed and released.
Syntax
BOOL padFieldButton(
WORD wId,
WORD wStyle,
WORD wLeft,
WORD wTop,
WORD wWidth,
WORD wHeight,
BYTE uFont,
char FAR *pcText,
WORD wTextLen,
WORD wCmdPress,
char FAR * pcPressArgData,
WORD wPressArgDataLen,
WORD wCmdRelease,
char FAR * pcReleaseArgData,
WORD wReleaseArgDataLen
)
Parameter
Description
wId
Field identification number
wStyle
Field style attributes; 0 for defaults
wLeft
X-coordinate of upper point
wTop
Y-coordinate of upper point
wWidth
Width of the signature field
wHeight
Height of the signature field
uFont
Font to be used
pcText
Button text to be displayed
wTextLen
Text length
wCmdPress
Command to be executed when the button is pressed
pcPressArgData
Command data for press command
wPressArgDataLen
Data length for press command
wCmdRelease
Command to be executed when the button is released
pcReleaseArgData
Command data for release command
wReleaseArgDataLen
Data length for release command
Returns
Returns TRUE if the function call succeeds, FALSE otherwise.
Содержание PadCom TT1500
Страница 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Страница 88: ...4 2 ...
Страница 129: ......
Страница 130: ......
Страница 131: ......
Страница 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...