TestWaitForInput
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
long TestWaitForInput(long handle); // form 1long TestWaitForInput(long handle, dword timeout); // form 2long TestWaitForInput(long handle, dword timeout, dword defaultIndex); // form 3
Description
After you have created a value table or range dialog use this function to open the dialog.Parameters
- Handle: The handle of the dialog.
- DefaultIndex: The index of the value is marked on dialog opening.
- Timeout: Optional timeout for the dialog in ms. Transmission of 0: no timeout controlling.
Return Values
- 1: Dialog was closed by clicking the button [Ok] (successful call)
- 2: Dialog was closed by clicking the button [Cancel]