Set the text in the Data Display control. The Data Display is usually used for display Screen Reader coordinates. This function will also show the Data Display control if it is not already shown
BOOL SetDataDisplayText( LPCTSTR lpcszText, BOOL bDealy = FALSE )
return true if set successfully.
EX1
// This is a self contained sample program for the function GetAppPath, // To run the program, enter the following command in the Script window: // SetDataDisplayText_ex1 // When you run this program, the following meassage will be shown // in the Data Display box: // Hello World! // It counts down, then turns off the showing. // void SetDataDisplayText_ex1() { SetDataDisplayText("Hello World! ....."); LT_execute("Second -p 1"); SetDataDisplayText("Hello World! ...."); LT_execute("Second -p 1"); SetDataDisplayText("Hello World! ..."); LT_execute("Second -p 1"); SetDataDisplayText("Hello World! .."); LT_execute("Second -p 1"); SetDataDisplayText("Hello World! ."); LT_execute("Second -p 1"); SetDataDisplayText(NULL); }
SetDataDisplay
origin.h