%lc - Handle of Last Control

Purpose

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

Syntax

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

Description

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)

 

 

 

Basket
Empty
 
Copyright © 1999-2020 Silverfrost Limited