Silverfrost Logo About Us | Contact Us

%hw - Handle


To return the handle of the current window.


winio@('%hw', handle)
integer(7) handle     (output)


The returned value can be used in calls to Windows API functions and is the same as that given by clearwin_info@('LATEST_FORMATTED_WINDOW'). You can test if the current window has the focus by calling clearwin_info@('FOCUS_WINDOW').

See also

%lc - Handle of Last Control




Copyright © 1999-2019 Silverfrost Limited