%hw - Handle

Purpose

To return the handle of the current window.

Syntax

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

Description

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)

 

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited