Displays a unique number which identifies a file view or window or to the operating system.
Scope: View
Syntax
query windowid
Description
The windowid parameter returns the unique number assigned by the operating system as the handle of the window. This number can be used to send or post messages to that window. This is necessary for operation in a modeless dialog.
Example
To return the window handle, type:
query windowid
API Return Codes
None.
![]()
