processlist FindProcessByWnd method
Return to Introduction  Previous page  Next page
Applies to
acProcessList component.  

function FindProcessByWnd(Wnd hWnd; RefreshIfNotFound: Boolean = True): TacProcess;  

The FindProcessByWnd method retrieves the pointer to TacProcess object by the window handle which belongs to the process. Set RefreshIfNotFound parameter to True, if you would like to refresh the list automatically if the process was not found in first try.  

See also
Refresh, FindProcessByPID, FindProcessByWnd, FindExeNameByPID, FindExeNameByWnd, FindDescriptionByPID, FindDescriptionByWnd, FindWindowTitleByPID and FindWindowTitleByWnd methods;  
TacProcess object.