of_GetWindowText


pfcapsrv.pbl   >   pfc_n_cst_platformaix   >   of_GetWindowText   

Full name pfc_n_cst_platformaix.of_GetWindowText
Access public
Extend of string
Return value string
Prototype public function string of_GetWindowText(unsignedinteger)

Name Datatype
No Data

Name Datatype
ls_wintext string
lul_rc ulong
lul_size ulong

public function string of_GetWindowText (unsignedinteger ai_handle);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_GetWindowText
//
//	Access:  public
//
//	Arguments:
//
//
//	Returns:  string
//					window text
//					"" if error
//
//	Description:  Return the window title text
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 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.
//
//////////////////////////////////////////////////////////////////////////////
ulong		lul_rc
string 	ls_wintext
ulong		lul_size = 255

ls_wintext = space (lul_size)

lul_rc = GetWindowTextA(ai_handle, ls_wintext, lul_size)

if lul_rc > 0 THEN
	return ls_wintext
else
	return ""
end if

end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.space systemfunctions
pfc_n_cst_platformaix.GetWindowTextA pfc_n_cst_platformaix

     
Full name
No Data

     
Name Scope
No Data