Structure.ByReference, Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
int |
flags
The flags that control the position of the minimized window and the method by which the
window is restored.
|
int |
length
The length of the structure, in bytes.
|
WinDef.POINT |
ptMaxPosition
Coordinates of the window's upper-right corner when maximized.
|
WinDef.POINT |
ptMinPosition
Virtual position of the window's upper-left corner when minimized.
|
WinDef.RECT |
rcNormalPosition
The window's coordinates when the window is in the restored position.
|
int |
showCmd
The current show state of the window.
|
static int |
WPF_ASYNCWINDOWPLACEMENT
If the calling thread and the thread that owns the window are attached to different input
queues, the system posts the request to the thread that owns the window.
|
static int |
WPF_RESTORETOMAXIMIZED
The restored window will be maximized, regardless of whether it was maximized before it
was minimized.
|
static int |
WPF_SETMINPOSITION
The coordinates of the minimized window may be specified.
|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
WINDOWPLACEMENT() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getFieldOrder()
Return this Structure's field names in their proper order.
|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public static final int WPF_SETMINPOSITION
public static final int WPF_RESTORETOMAXIMIZED
public static final int WPF_ASYNCWINDOWPLACEMENT
public int length
public int flags
public int showCmd
public WinDef.POINT ptMinPosition
public WinDef.POINT ptMaxPosition
public WinDef.RECT rcNormalPosition
protected List<String> getFieldOrder()
Structure
protected List getFieldOrder() {
return Arrays.asList(new String[] { ... });
}
IMPORTANT
When deriving from an existing Structure subclass, ensure that
you augment the list provided by the superclass, e.g.
protected List getFieldOrder() {
List fields = new ArrayList(super.getFieldOrder());
fields.addAll(Arrays.asList(new String[] { ... }));
return fields;
}
Field order must be explicitly indicated, since the
field order as returned by Class.getFields()
is not
guaranteed to be predictable.getFieldOrder
in class Structure