C++ SDK

◆ ChangeAppRectangle()

static int CApplicationAPI::ChangeAppRectangle ( LpError  lpError,
int  nLeft,
int  nTop,
int  nWidth,
int  nHeight,
DWORD  dwMaxTime = DEFAULT_MAX_TIME 
)
static

This function change position and size of Drive application.

Parameters
lpErrorAdditional error information returned from Drive.
nLeftx-coordinate of Drive top left corner.
nTopy-coordinate of Drive top left corner.
nHeightHeight of Drive in pixels.
nWidthWidth of Drive in pixels.
dwMaxTimeMaximum time (in milliseconds) function can take. If dwMaxTime=0 function execution is not time limited.
Returns
1 if successful, other value otherwise.