VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。

@DLGPOS

Windows Linux macOS

Syntax

@DLGPOS(<element name>, <flags>)

Description

This function returns the size and position of the dialog element <element_name> in the currently selected dialog,. The information returned is specified using <flags>.

Valid flags are:

T return the top co-ordinate
L return the left co-ordinate
W return the width
H return the height
I [VDS6] return the window identifier. Note: Some dialog elements, such as TEXT and BITMAP dialog elements, are not windows in their own right, and so the value returned will be zero.

Where more than one flag is specified the information returned is separated using the current field separator character in a format that can be processed by the PARSE command.

If <element_name> is null, the position and size of the current selected dialog are returned. Note that the width and height returned in this case are the width and height of the client area of the dialog, excluding the border, title bar and menu (if applicable.)

OK

Set to false if the specified window cannot be found.