U_LOGWND

Log a window as global or local

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
xcall U_LOGWND(window_id[, D_GLOBAL])

window_id

The ID of the window to be logged. (n)

D_GLOBAL

(optional) Log the window as global. (n)

U_LOGWND logs a window ID as either global or local.

The window is logged as global if D_GLOBAL is present. The window is entered into the current (local) environment if D_GLOBAL is not present.

Always use this subroutine with a window created outside of the UI Toolkit utilities (for example, if you created it yourself with the Synergy DBL W_xxx subroutines, loaded it from your own library, and so forth). If you don’t, UI Toolkit environment will not recognize its existence.

The following example logs the window whose ID is stored in the passid variable as local.

xcall u_logwnd(passid)