winframe class : ProcessName getter
Description
Gets a process name of a window.
Syntax
winframeInstance.ProcessName
Arguments
None
Return value
Class | Description |
string | A 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.