xInfo.setWindowOrder Method
Sets the order in which windows should be displayed.
Syntax
public void setWindowOrder(int window, [int afterWindow])
Run On
Called
Parameters
- window
Type: int
The handle of the window to bring to the front.
- afterWindow
Type: int
The handle to the window to place after the window specified by the window parameter; optional.
Examples
The following example sets focus on a window and brings it to the front.
void setFocus()
{
infolog.activateWindow(element.hWnd());
infolog.setWindowOrder(element.hWnd());
}