Silverfrost Logo About Us | Contact Us

%lc - Handle of Last Control


To return the handle of the previous (last) control.


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


The returned value can be used in calls to Windows API functions. For example controls that do not have grey control variable can be greyed by using %lc to obtain the window handle and then calling the API function EnableWindow.

See also

%hw - Handle




Copyright © 1999-2019 Silverfrost Limited