Struct WINDOWPOS
Represents window layout information.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public struct WINDOWPOS
Fields
cx
The x coordinate of where to put the lower-right corner of the window.
Declaration
public int cx
Field Value
Type |
---|
System.Int32 |
cy
The y coordinate of where to put the lower-right corner of the window.
Declaration
public int cy
Field Value
Type |
---|
System.Int32 |
flags
Zero or more of the following flags stating how to move the window:
- 32 = Fully redraw the window in its new position.
- 128 = Hide the window from the screen.
- 16 = Do not make the window active after moving it unless it was already the active window.
- 256 = Do not redraw anything drawn on the window after it is moved.
- 2 = Do not move the window.
- 1 = Do not resize the window.
- 8 = Do not remove the image of the window in its former position, effectively leaving a ghost image on the screen.
- 4 = Do not change the window's position in the Z-order.
- 64 = Show the window if it is hidden.
Declaration
public int flags
Field Value
Type |
---|
System.Int32 |
hwnd
Handle of window.
Declaration
public IntPtr hwnd
Field Value
Type |
---|
System.IntPtr |
hwndInsertAfter
Either the handle of the window to position this window behind, or a flag stating where in the Z-order to put the window:
- -2 = Put the window below all topmost windows and above all non-topmost windows.
- -1 = Make the window topmost (above all other windows) permanently.
- 0 = Put the window at the top of the Z-order.
- 1 = Put the window at the bottom of the Z-order.
Declaration
public IntPtr hwndInsertAfter
Field Value
Type |
---|
System.IntPtr |
x
The x coordinate of where to put the upper-left corner of the window.
Declaration
public int x
Field Value
Type |
---|
System.Int32 |
y
The y coordinate of where to put the upper-left corner of the window.
Declaration
public int y
Field Value
Type |
---|
System.Int32 |