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

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

The FindExeNameByWnd method retrieves the name of the executable 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.