NewMainWindowPosition Method


Description

Changes the position of the BrainVoyager window on screen.

Syntax

objBrainVoyager.NewMainWindowPosition(intPosX, intPosY)

Remarks

The position arguments intPosX and intPosY refer to the left, upper corner of the window. The values are interpreted as pixels on the screen. The (0, 0) coordinates refer to the left upper corner of the screen.

Example

' VBScript
Set BrainVoyager =
CreateObject("BrainVoyager.1")
BrainVoyager.
NewMainWindowPosition 10, 10

// JScript
BrainVoyager =
new ActiveXObject("BrainVoyager.1");
BrainVoyager.
NewMainWindowPosition(10, 10);

# PerlScript
$BrainVoyager =
Win32::OLE->new("BrainVoyager.1");
$BrainVoyager->
NewMainWindowPosition(10, 10);