ITE3DWindow

The ITE3DWindow interface provides control over the 3D Window elements.

Note:    If instantiating more than one 3D window, HRESULT returns the following value: TE_E_MULTIPLE_TEX

Only one 3D Window can be opened in a process.

 

 

Properties

 

BorderStyle

Gets and sets the border style surrounding the 3D Window.

Caption

Gets and sets the text displayed in the title bar of messages issued by the object.

TakeControlOfKeyboardAccelerators

Gets and sets the Boolean that determines if TerraExplorer executes all keyboard acceleration commands. If it is set to TRUE, TerraExplorer executes them; if FALSE, the containing application executes them.

Text

Reserved. Currently not used.

BorderStyle

Defines the border style surrounding the 3D Window. The value is a number between 0 and 4, according to the following options:

§   0 = None

§   1 = Solid

§   2 = Three-dimensional border style

§   3 = Border with a sunken edge

§   4 = Double border

 

JavaScript

 

BorderStyle

 

C#

 

int BorderStyle { get; set; }

 

C++

 

HRESULT BorderStyle([in] long pstyle)

HRESULT BorderStyle([out, retval] long* pstyle)

Caption

Gets and sets the text displayed in the title bar of messages issued by the object.

JavaScript

 

Caption

 

C#

 

string Caption { get; set; }

 

C++

 

HRESULT Caption([in] BSTR pstrCaption)

HRESULT Caption([out, retval] BSTR* pstrCaption)

TakeControlOfKeyboardAccelerators

Gets and sets the Boolean that determines if TerraExplorer executes all keyboard acceleration commands. If it is set to TRUE, TerraExplorer executes them; if FALSE, the containing application executes them.

 

JavaScript

 

TakeControlOfKeyboardAccelerators

 

C#

 

int TakeControlOfKeyboardAccelerators { get; set; }

 

C++

 

HRESULT TakeControlOfKeyboardAccelerators([out, retval] long* pVal)

HRESULT TakeControlOfKeyboardAccelerators([in] long pVal)