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
wId
wStyle
wLeft
wTop
wWidth
wHeight
uFont
pcText
wTextLen
wCmdPress
pcPressArgData
wPressArgDataLen
wCmdRelease
pcReleaseArgData
wReleaseArgDataLen
Returns
Returns TRUE if the function call succeeds, FALSE otherwise.
3 - 6
Description
Field identification number
Field style attributes; 0 for defaults
X-coordinate of upper point
Y-coordinate of upper point
Width of the signature field
Height of the signature field
Font to be used
Button text to be displayed
Text length
Command to be executed when the button is pressed
Command data for press command
Data length for press command
Command to be executed when the button is released
Command data for release command
Data length for release command