Share via


xInfo.setWindowOrder Method

Definition

Overloads

setWindowOrder(Int32)

Sets the order in which windows should be displayed.

setWindowOrder(Int32, Int32)

setWindowOrder(Int32)

Sets the order in which windows should be displayed.

public:
 virtual void setWindowOrder(int num1);
public virtual void setWindowOrder (int num1);
abstract member setWindowOrder : int -> unit
override this.setWindowOrder : int -> unit
Public Overridable Sub setWindowOrder (num1 As Integer)

Parameters

num1
Int32

Remarks

The following example sets focus on a window and brings it to the front.

void setFocus() 
{ 
    infolog.activateWindow(element.hWnd()); 
    infolog.setWindowOrder(element.hWnd()); 
}

Applies to

setWindowOrder(Int32, Int32)

public:
 virtual void setWindowOrder(int _window, int _afterWindow);
public virtual void setWindowOrder (int _window, int _afterWindow);
abstract member setWindowOrder : int * int -> unit
override this.setWindowOrder : int * int -> unit
Public Overridable Sub setWindowOrder (_window As Integer, _afterWindow As Integer)

Parameters

_window
Int32

The handle to the window to place after the window specified by the window parameter; optional.

_afterWindow
Int32

The handle to the window to place after the window specified by the window parameter; optional.

Applies to