IUP/Dialogs/IupShowXY
From Vendetta Lua
Jump to navigationJump to search
IupShowXY
- Displays a dialog in a given position on the screen.
Parameters/Return
- iup.ShowXY(element: ihandle, x, y: number) -> (ret: number)
- element: identifier of the dialog.
- x: x coordinate of the dialog’s left corner. The following macros are valid:
- IUP_LEFT: Positions the dialog on the left corner of the screen
- IUP_CENTER: Horizontally centralizes the dialog on the screen
- IUP_RIGHT: Positions the dialog on the right corner of the screen
- y: y coordinate of the dialog’s upper part. The following macros are valid:
- IUP_TOP: Positions the dialog on the top of the screen
- IUP_CENTER: Vertically centralizes the dialog on the screen
- IUP_BOTTOM: Positions the dialog on the base of the screen
- This function returns IUP_NOERROR if the element was displayed.
Note
- This function can be executed more than once for the same dialog. This will make the dialog be placed above all other dialogs in the application.