|
of_GetWindowText
|
|
Full name
|
pfc_n_cst_platformsol2.of_GetWindowText
|
Access
|
public
|
Extend of
|
string
|
Return value
|
string
|
Prototype
|
public function string of_GetWindowText(unsignedinteger)
|
Name
|
Datatype
|
li_rc
|
int
|
li_size
|
int
|
ls_wintext
|
string
|
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
// 5.0.02 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.
//
//////////////////////////////////////////////////////////////////////////////
int li_rc
string ls_wintext
int li_size = 255
ls_wintext = space (255)
li_rc = GetWindowTextA(ai_handle, ls_wintext, li_size)
if li_rc > 0 THEN
return ls_wintext
else
return ""
end if
end function