Skip to main content
Skip table of contents

CDRFLEx.set_on_tp_popup

기능

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

인수

인수명자료형기본값설명

pCallbackFunc

TOnTpPopupCB

-

콜백 함수 정의 참조

리턴

없음

예제

CPP
void OnTpPopup(LPMESSAGE_POPUP tPopup)
{
    cout << "Popup Message: " << tPopup->_szText << endl;
    cout << "Message Level: " << tPopup->_iLevel << endl;
    cout << "Button Type: " << tPopup->_iBtnType << endl;
}
int main()
{
	drfl.set_on_tp_popup(OnTpPopupCB)
}

JavaScript errors detected

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

If this problem persists, please contact our support.