of_findwindow


pfcapsrv.pbl   >   pfc_n_cst_platformhpux   >   of_findwindow   

Full name pfc_n_cst_platformhpux.of_findwindow
Access public
Extend of unsignedinteger
Return value unsignedinteger
Prototype public function unsignedinteger of_findwindow(string)

Name Datatype
No Data

Name Datatype
ll_idx long
ll_upper long
lul_whnd ulong

public function unsignedinteger of_findwindow (string as_window_name);//////////////////////////////////////////////////////////////////////////////
//
//	Function: of_FindWindow
//
//	Access:  public
//
//	Arguments: as_window_name - window text to search for
//	
//
//	Returns:  uint  - window handle
//	
//
//	Description:  Return the handle of the window passed in by window name (Window Title)
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version
// 7.0 	Moved the class names into an instance array.  Allow for multiple 
// 		class names.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////
ulong		lul_whnd
long 		ll_idx, ll_upper

ll_upper = UpperBound(is_ClassName)

FOR ll_idx = 1 TO ll_upper
	lul_whnd = FindWindowA( is_classname[ll_idx], as_window_name)
	IF lul_whnd > 0 THEN
		EXIT
	END IF
NEXT

return lul_whnd
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.upperbound systemfunctions
pfc_n_cst_platformhpux.FindWindowA pfc_n_cst_platformhpux

     
Full name
No Data

     
Name Scope
No Data