struct WINDOWPLACEMENT {
UINT length;
UINT flags;
UINT showCmd;
POINT ptMinPosition;
POINT ptMaxPosition;
RECT rcNormalPosition;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | WINDOWPLACEMENT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | LENGTH
The struct member offsets. |
| public static final int | PTMAXPOSITION
The struct member offsets. |
| public static final int | PTMINPOSITION
The struct member offsets. |
| public static final int | RCNORMALPOSITION
The struct member offsets. |
| public static final int | SHOWCMD
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | WINDOWPLACEMENT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static WINDOWPLACEMENT | |
| public static WINDOWPLACEMENT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static WINDOWPLACEMENT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static WINDOWPLACEMENT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static WINDOWPLACEMENT | |
| public static WINDOWPLACEMENT | |
| public static WINDOWPLACEMENT. | |
| public static WINDOWPLACEMENT. | |
| protected WINDOWPLACEMENT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static WINDOWPLACEMENT | |
| public static WINDOWPLACEMENT | |
| public static WINDOWPLACEMENT. | create(int
the buffer capacity capacity)Returns a new |
| public static WINDOWPLACEMENT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static WINDOWPLACEMENT | |
| public static WINDOWPLACEMENT. | |
| public int | flags()
the flags that control the position of the minimized window and the method by which the window is restored. |
| public WINDOWPLACEMENT | |
| public int | |
| public WINDOWPLACEMENT | |
| public static WINDOWPLACEMENT | |
| public static WINDOWPLACEMENT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static WINDOWPLACEMENT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static WINDOWPLACEMENT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static WINDOWPLACEMENT | |
| public static WINDOWPLACEMENT | |
| public static WINDOWPLACEMENT. | |
| public static WINDOWPLACEMENT. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static POINT | |
| public static void | |
| public static POINT | |
| public static void | |
| public static RECT | |
| public static void | |
| public static int | |
| public static void | |
| public POINT | |
| public WINDOWPLACEMENT | |
| public WINDOWPLACEMENT | |
| public POINT | |
| public WINDOWPLACEMENT | |
| public WINDOWPLACEMENT | |
| public RECT | |
| public WINDOWPLACEMENT | |
| public WINDOWPLACEMENT | rcNormalPosition(Consumer<RECT> consumer)
Passes the |
| public WINDOWPLACEMENT | |
| public WINDOWPLACEMENT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public WINDOWPLACEMENT | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| LENGTH | back to summary |
|---|---|
| public static final int LENGTH The struct member offsets. | |
| PTMAXPOSITION | back to summary |
|---|---|
| public static final int PTMAXPOSITION The struct member offsets. | |
| PTMINPOSITION | back to summary |
|---|---|
| public static final int PTMINPOSITION The struct member offsets. | |
| RCNORMALPOSITION | back to summary |
|---|---|
| public static final int RCNORMALPOSITION The struct member offsets. | |
| SHOWCMD | back to summary |
|---|---|
| public static final int SHOWCMD The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| WINDOWPLACEMENT | back to summary |
|---|---|
| protected WINDOWPLACEMENT(long address, ByteBuffer container) | |
| WINDOWPLACEMENT | back to summary |
|---|---|
| public WINDOWPLACEMENT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static WINDOWPLACEMENT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static WINDOWPLACEMENT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static WINDOWPLACEMENT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static WINDOWPLACEMENT. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static WINDOWPLACEMENT callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static WINDOWPLACEMENT callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static WINDOWPLACEMENT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static WINDOWPLACEMENT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected WINDOWPLACEMENT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static WINDOWPLACEMENT create() Returns a new | |
| create | back to summary |
|---|---|
| public static WINDOWPLACEMENT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static WINDOWPLACEMENT. Returns a new
| |
| create | back to summary |
|---|---|
| public static WINDOWPLACEMENT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static WINDOWPLACEMENT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static WINDOWPLACEMENT. Like
| |
| flags | back to summary |
|---|---|
| public int flags() the flags that control the position of the minimized window and the method by which the window is restored. This member can be one or more of thefollowing values:
| |
| flags | back to summary |
|---|---|
| public WINDOWPLACEMENT flags(int value) Sets the specified value to the | |
| length | back to summary |
|---|---|
| public int length() the length of the structure, in bytes. Before calling the
| |
| length | back to summary |
|---|---|
| public WINDOWPLACEMENT length(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static WINDOWPLACEMENT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static WINDOWPLACEMENT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static WINDOWPLACEMENT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static WINDOWPLACEMENT. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static WINDOWPLACEMENT mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static WINDOWPLACEMENT mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static WINDOWPLACEMENT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static WINDOWPLACEMENT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, int value) Unsafe version of | |
| nlength | back to summary |
|---|---|
| public static int nlength(long struct) Unsafe version of | |
| nlength | back to summary |
|---|---|
| public static void nlength(long struct, int value) Unsafe version of | |
| nptMaxPosition | back to summary |
|---|---|
| public static POINT nptMaxPosition(long struct) Unsafe version of | |
| nptMaxPosition | back to summary |
|---|---|
| public static void nptMaxPosition(long struct, POINT value) Unsafe version of | |
| nptMinPosition | back to summary |
|---|---|
| public static POINT nptMinPosition(long struct) Unsafe version of | |
| nptMinPosition | back to summary |
|---|---|
| public static void nptMinPosition(long struct, POINT value) Unsafe version of | |
| nrcNormalPosition | back to summary |
|---|---|
| public static RECT nrcNormalPosition(long struct) Unsafe version of | |
| nrcNormalPosition | back to summary |
|---|---|
| public static void nrcNormalPosition(long struct, RECT value) Unsafe version of | |
| nshowCmd | back to summary |
|---|---|
| public static int nshowCmd(long struct) Unsafe version of | |
| nshowCmd | back to summary |
|---|---|
| public static void nshowCmd(long struct, int value) Unsafe version of | |
| ptMaxPosition | back to summary |
|---|---|
| public POINT ptMaxPosition() the coordinates of the window's upper-left corner when the window is maximized | |
| ptMaxPosition | back to summary |
|---|---|
| public WINDOWPLACEMENT ptMaxPosition(POINT value) Copies the specified | |
| ptMaxPosition | back to summary |
|---|---|
| public WINDOWPLACEMENT ptMaxPosition(Consumer<POINT> consumer) Passes the | |
| ptMinPosition | back to summary |
|---|---|
| public POINT ptMinPosition() the coordinates of the window's upper-left corner when the window is minimized | |
| ptMinPosition | back to summary |
|---|---|
| public WINDOWPLACEMENT ptMinPosition(POINT value) Copies the specified | |
| ptMinPosition | back to summary |
|---|---|
| public WINDOWPLACEMENT ptMinPosition(Consumer<POINT> consumer) Passes the | |
| rcNormalPosition | back to summary |
|---|---|
| public RECT rcNormalPosition() the window's coordinates when the window is in the restored position | |
| rcNormalPosition | back to summary |
|---|---|
| public WINDOWPLACEMENT rcNormalPosition(RECT value) Copies the specified | |
| rcNormalPosition | back to summary |
|---|---|
| public WINDOWPLACEMENT rcNormalPosition(Consumer<RECT> consumer) Passes the | |
| set | back to summary |
|---|---|
| public WINDOWPLACEMENT set(int length, int flags, int showCmd, POINT ptMinPosition, POINT ptMaxPosition, RECT rcNormalPosition) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public WINDOWPLACEMENT set(WINDOWPLACEMENT src) Copies the specified struct data to this struct.
| |
| showCmd | back to summary |
|---|---|
| public int showCmd() the current show state of the window
| |
| showCmd | back to summary |
|---|---|
| public WINDOWPLACEMENT showCmd(int value) Sets the specified value to the | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
WINDOWPLACEMENT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final WINDOWPLACEMENT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public WINDOWPLACEMENT. | |
| protected WINDOWPLACEMENT | |
| public int | |
| public WINDOWPLACEMENT. | |
| public POINT | |
| public WINDOWPLACEMENT. | |
| public WINDOWPLACEMENT. | ptMaxPosition(Consumer<POINT> consumer)
Passes the |
| public POINT | |
| public WINDOWPLACEMENT. | |
| public WINDOWPLACEMENT. | ptMinPosition(Consumer<POINT> consumer)
Passes the |
| public RECT | |
| public WINDOWPLACEMENT. | rcNormalPosition(RECT value)
Copies the specified |
| public WINDOWPLACEMENT. | rcNormalPosition(Consumer<RECT> consumer)
Passes the |
| protected WINDOWPLACEMENT. | |
| public int | |
| public WINDOWPLACEMENT. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final WINDOWPLACEMENT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public WINDOWPLACEMENT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected WINDOWPLACEMENT getElementFactory() Implements abstract org.
| |
| length | back to summary |
|---|---|
public int length()
| |
| length | back to summary |
|---|---|
| public WINDOWPLACEMENT. Sets the specified value to the | |
| ptMaxPosition | back to summary |
|---|---|
public POINT ptMaxPosition()
| |
| ptMaxPosition | back to summary |
|---|---|
| public WINDOWPLACEMENT. Copies the specified | |
| ptMaxPosition | back to summary |
|---|---|
| public WINDOWPLACEMENT. Passes the | |
| ptMinPosition | back to summary |
|---|---|
public POINT ptMinPosition()
| |
| ptMinPosition | back to summary |
|---|---|
| public WINDOWPLACEMENT. Copies the specified | |
| ptMinPosition | back to summary |
|---|---|
| public WINDOWPLACEMENT. Passes the | |
| rcNormalPosition | back to summary |
|---|---|
public RECT rcNormalPosition()
| |
| rcNormalPosition | back to summary |
|---|---|
| public WINDOWPLACEMENT. Copies the specified | |
| rcNormalPosition | back to summary |
|---|---|
| public WINDOWPLACEMENT. Passes the | |
| self | back to summary |
|---|---|
| protected WINDOWPLACEMENT. Implements abstract org.
| |
| showCmd | back to summary |
|---|---|
public int showCmd()
| |
| showCmd | back to summary |
|---|---|
| public WINDOWPLACEMENT. Sets the specified value to the | |