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

function FindWindowTitleByWnd(PID: hWnd; RefreshIfNotFound: Boolean = True): String;  

The FindWindowTitleByWnd method retrieves the title of first visible window of the process 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.