Skip to main content
Skip table of contents

CDRFLEx.set_on_tp_get_user_input

기능

DRL에서 tp_get_user_input명령을 사용했을 경우, 사용자 입력을 확인하기 위한 콜백함수를 등록하기 위한 함수이다. 자동으로 실행되어야 하는 기능을 작성할 때 유용하다

인수

인수명자료형기본값설명

pCallbackFunc

TOnTpGetUserInputCB

-

콜백 함수 정의 참조

리턴

없음

예제

CPP
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)
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.