U_LOGWND

Log a window as global or local

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
xcall U_LOGWND(window_id[, D_GLOBAL])

Arguments

window_id

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

D_GLOBAL

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

Discussion

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.

Examples

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

xcall u_logwnd(passid)