Class WINDOWPLACEMENT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<WINDOWPLACEMENT>
org.lwjgl.system.windows.WINDOWPLACEMENT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class WINDOWPLACEMENT extends org.lwjgl.system.Struct<WINDOWPLACEMENT> implements org.lwjgl.system.NativeResource
Contains information about the placement of a window on the screen.

Layout


 struct WINDOWPLACEMENT {
     UINT length();
     UINT flags();
     UINT showCmd();
     POINT ptMinPosition();
     POINT ptMaxPosition();
     RECT rcNormalPosition();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • LENGTH

      public static final int LENGTH
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • SHOWCMD

      public static final int SHOWCMD
      The struct member offsets.
    • PTMINPOSITION

      public static final int PTMINPOSITION
      The struct member offsets.
    • PTMAXPOSITION

      public static final int PTMAXPOSITION
      The struct member offsets.
    • RCNORMALPOSITION

      public static final int RCNORMALPOSITION
      The struct member offsets.
  • Constructor Details

    • WINDOWPLACEMENT

      public WINDOWPLACEMENT(ByteBuffer container)
      Creates a WINDOWPLACEMENT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details