Job Management Partner 1/Software Distribution Automatic Installation Tool Description and Reference

[Contents][Glossary][Index][Back][Next]

AIT_IMESetStatusWindowPos

Description

Sets the position of a status window.

Format

bool AIT_IMESetStatusWindowPos  (
  integer nWndHandle,     // Window handle
  integer nX,             // X coordinate
  integer nY              // Y coordinate
);

Parameters

nWndHandle (input)

Specify a window handle to be positioned.

With 0 set, the window handle with an input focus is used.

nX (input)

Specify the X coordinate of a status window.

nY (input)

Specify the Y coordinate of a status window.

Return values

The return value is true if the function was executed normally, and false if not. If the function has returned false, you can use AIT_GetLastError to acquire an extended error code. The following gives the error codes that AIT_GetLastError may return.

Extended error number Error code
87 ERROR_INVALID_PARAMETER
1400 ERROR_INVALID_WINDOW_HANDLE