LSTOWHND

Use this routine to find the window names of the all the Uniface open objects For example this can be used to find the name of a session panel, or session panel button.

Please note: This then allows you to call GETOWHND.

; find the names of all the Uniface objects

perform "_lstowhnd"

Here are the results from LSTOWHND for objects based on a test screen developed at the March Hare Unfiace Lab:

A Test Application

A3GLTST.A Test Application

A3GLTST.A Test Application

A3GLTST.A Test Application

OBJ.DUMMY.DUMMY.A3GLTST.A Test Application

F1.DUMMY.DUMMY.A3GLTST.A Test Application

UTBD.A3GLTST.A Test Application

GETOBJECT.DUMMY.DUMMY.A3GLTST.A Test Application

GETWNDH.DUMMY.DUMMY.A3GLTST.A Test Application

MHPRT.DUMMY.DUMMY.A3GLTST.A Test Application

SVEBIT.DUMMY.DUMMY.A3GLTST.A Test Application

.A3GLTST.A Test Application

.A3GLTST.A Test Application

.A3GLTST.A Test Application

UTOOLBAR.A Test Application

ULINE.A Test Application

UniCombo.ULINE.A Test Application

UPANEL.A Test Application

Add_occ.UPANEL.A Test Application

Accept.UPANEL.A Test Application

Detail.UPANEL.A Test Application

Erase.UPANEL.A Test Application

Print....UPANEL.A Test Application

Quit.UPANEL.A Test Application

Rem_occ.UPANEL.A Test Application

Store Data.UPANEL.A Test Application

Zoom Field.UPANEL.A Test Application

In the above example:

Application Title Bar/Description: A Test Application
Form Name: A3GLTST
Session Panel Name: SESS1
Fields on Form: F1,OBJ
Command Buttons on Form: GETOBJECT,GETWNDH,MHPRT,SVEBIT

Notes:

This function is only available under Win32 platforms (ie: Windows 95/98/ME and NT/2000). This function is only available in Uniface 7.2.02 and higher.

This function is not available in Uniface 8.

It is not possible to find the object name of a window that has not been created. Therefore it is not recommended to call LSTOWHND from the execute trigger.

$Revision: 1.8 $ $Date: 2011/02/28 02:56:32 $[go to top]