SCREENPOSITION/X/Y (read-only) (non inheritable) (since 3.4)

Returns the absolute horizontal and/or vertical position of the top left corner of the client area relative to the top left corner of the screen in pixels. It is similar to POSITION but relative to the top left corner of the screen.

IMPORTANT: For the dialog, it is the position of the top left corner of the window, NOT the client area. It is the same position used in IupShowXY and IupPopup. In GTK, if the dialog is hidden the values can be outdated.

Value

"x,y", where x and y are integer values corresponding to the horizontal and vertical position, respectively, in pixels. When X or Y are used a single value is returned.

Affects

All controls that have visual representation.

See Also

POSITION