of_getactivewindowborder


pfcapsrv.pbl   >   pfc_n_cst_platformunicode   >   of_getactivewindowborder   

Full name pfc_n_cst_platformunicode.of_getactivewindowborder
Access public
Extend of integer
Return value integer
Prototype public function integer of_getactivewindowborder()

Name Datatype
No Data

Name Datatype
lb_success boolean
li_border int
SPI_GETBORDER uint

public function integer of_getactivewindowborder ();//////////////////////////////////////////////////////////////////////////////
//	Public Function: of_GetActiveWindowBorder
//	Arguments:		None
//	Returns:			int
//	Description:	Get the size of the active window's border
//////////////////////////////////////////////////////////////////////////////
//	Rev. History	Version
//						7.0   Initial version
//////////////////////////////////////////////////////////////////////////////
//	Copyright © 1996-1999 Sybase, Inc. and its subsidiaries.  All rights reserved.  Any distribution of the 
// PowerBuilder Foundation Classes (PFC) source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//////////////////////////////////////////////////////////////////////////////
boolean lb_success
int li_border
uint SPI_GETBORDER = 5

lb_success = SystemParametersInfoW(SPI_GETBORDER, 0, li_border, 0)

if lb_success then
	return li_border
else
	return -1
end if
end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_platformunicode.SystemParametersInfoW pfc_n_cst_platformunicode

     
Full name
No Data

     
Name Scope
No Data