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

function FindWindowTitleByPID(PID: DWord; RefreshIfNotFound: Boolean = True): String;  

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