@DLGPOS

Top  Previous  Next

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.