Compartir a través de


WINDOWPOS Structure

Represents the position of a window.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

Syntax

'Declaration
Public Structure WINDOWPOS
public struct WINDOWPOS
public value class WINDOWPOS
[<Sealed>]
type WINDOWPOS =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The WINDOWPOS type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field cx The x coordinate relative to x.
Public field cy The y coordinate relative to y.
Public field flags The flags.
Public field hwnd The window handler.
Public field hwndInsertAfter The other window handle.
Public field x The x coordinate.
Public field y The y coordinate.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace