CDRFLEx.set_on_tp_get_user_input
Features
This function is used to register a callback function to check user input when the tp_get_user_input command is used in DRL. It is useful when functions that should be executed automatically are made. Parameter
Parameter
Parameter Name | Data Type | Default Value | Description |
|---|---|---|---|
pCallbackFunc | TOnTpGetUserInputCB | - | Refer to definition of callback function |
Return
None.
Example
void OnTpGetuserInput(LPMESSAGE_INPUT tInput)
{
cout << "User Input : " << tInput->_szText << endl;
cout << "Data Type : " << tInput->_iType << endl;
}
int main()
{
drfl.set_on_tp_get_user_input(OnTpGetUserInputCB)
}