#include <ispackets.h>
Data Fields | |
| byte | Size |
| 12 + TEXT_SIZE (a multiple of 4) | |
| byte | Type |
| ISP_BTN | |
| byte | ReqI |
| non-zero (returned in IS_BTC and IS_BTT packets) | |
| byte | UCID |
| connection to display the button (0 = local / 255 = all) | |
| byte | ClickID |
| button ID (0 to 239) | |
| byte | Inst |
| some extra flags | |
| byte | BStyle |
| button style flags | |
| byte | TypeIn |
| max chars to type in - see below | |
| byte | L |
| left : 0 - 200 | |
| byte | T |
| top : 0 - 200 | |
| byte | W |
| width : 0 - 200 | |
| byte | H |
| height : 0 - 200 | |
| char | Text [TEXT_SIZE] |
| 0 to 240 characters of text | |
button header - followed by 0 to 240 characters
ClickID byte : this value is returned in IS_BTC and IS_BTT packets.
TypeIn byte : if set, the user can click this button to type in text.
Lowest 7 bits are the maximum number of characters to type in (0 to 95) Highest bit (128) can be set to initialise dialog with the button's text
Text : 0-65-66-0 would display button text "AB" and no caption
Text : 0-65-66-67-0-68-69-70-71-0-0-0 would display button text "DEFG" and caption "ABC"
Inst byte : mainly used internally by InSim but also provides some extra user flags
Definition at line 2081 of file ispackets.h.
| byte IS_BTN::Size |
| byte IS_BTN::Type |
| byte IS_BTN::ReqI |
| byte IS_BTN::UCID |
connection to display the button (0 = local / 255 = all)
Definition at line 2086 of file ispackets.h.
| byte IS_BTN::ClickID |
| byte IS_BTN::Inst |
| byte IS_BTN::BStyle |
| byte IS_BTN::TypeIn |
| byte IS_BTN::L |
| byte IS_BTN::T |
| byte IS_BTN::W |
| byte IS_BTN::H |
| char IS_BTN::Text[TEXT_SIZE] |
1.5.8