API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

AEEWINDOWMGREXTPROP_POSITION_HINT

Brew Release
Brew MP 1.0.2
Description
This property is used to initialize/change the position of a popup window. All other state of the window is unaffected (i.e. z-order, minimized state). Note that the window manager may not honor the exact position requested.
The payload of this property is a 16-byte buffer in the following format,
    0..3 bytes (little endian)|4..7 bytes (little endian) |8..11 bytes (little endian)|12..15 bytes (little endian) 
  +------+------+------+------+------+------+------+------+------+------+------+------+------+------+------+------+
  | x (int32)                 | y (int32)                 | xConstraint (AEEUID)      | yConstraint (AEEUID)      |
  +------+------+------+------+------+------+------+------+------+------+------+------+------+------+------+------+

where: x => Desired x position of the window y => Desired y position of the window
xConstraint => How to interpret the x value. One of the AEEWindowMgrExt_POPUPPOS_xxx consts. Unknown values will default to AEEWindowMgrExt_POPUPPOS_CENTER.
yConstraint => How to interpret the y value. One of the AEEWindowMgrExt_POPUPPOS_xxx consts. Unknown values will default to AEEWindowMgrExt_POPUPPOS_CENTER.
If this property is not supplied in IWindowMgr_CreateWindow(),the default value of an all zero payload will be used (centering the popup on the screen)
Definition
  •   const AEEUID AEEWindowMgrExtProp_POSITION_HINT = 0x0106c5a8;