SpQuerySysValue

Queries a system value.

Syntax: value = spQuerySysValue ( [ hwndDesktop, ] valueID )

Parameters:
 * hwndDesktop – Desktop-window handle. If ommited the default desktop
 * handle (HWND_DESKTOP) will be used.
 * valueID – Identifier of system value to be queried.

Returns:
 * 0 – Error occurred
 * >0 – System value. Dimensions are in pels and times are in milliseconds.

Example Code: /* startlpx.cmd (spUtils Example Code) */ /* start wps object  where x is current screen width */ CALL RXFUNCADD 'SysSetObjectData','RexxUtil','SysSetObjectData'CALL RXFUNCADD 'spLoadFuncs','spUtils','spLoadFuncs' CALL spLoadFuncs obj='' CALL SysSetObjectData obj,'OPEN=DEFAULT'