Home Notices Documents Classes Download Others Rice
Classes  >  winframe  >  ProcessName
winframe class : ProcessName getter

Description

Gets a process name of a window.

Syntax

winframeInstance.ProcessName

Arguments

None

Return value

ClassDescription
stringA process name.

Sample code

1:

wfpool wfp;

2:

winframe winframeIns = wfp.GetActive(); // Gets a window that has focus.

3:

string pname = winframeIns.ProcessName;

Notes

A process name for the UWP (Universal Windows Platform) applications like the Edge, Calculator, or windows store application is the "ApplicationFrameHost".

Links for reference

None.

Copyright © Rice All rights reserved.