2.1.27.28 SetDataDisplayText


Description

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

Syntax

BOOL SetDataDisplayText( LPCTSTR lpcszText, BOOL bDealy = FALSE )

Parameters

lpcszText
[input] text string to set, use NULL to close the Data Display if not docked.
bDelay
[input] If TRUE, set text will happen after finish Origin internal process.

Return

return true if set successfully.

Examples

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

Remark

See Also

SetDataDisplay

Header to Include

origin.h

Reference