How to get the “Application Name” from hWnd for Windows 10 Store Apps (e.g. Edge)

前端 未结 5 1727
清歌不尽
清歌不尽 2020-12-31 13:28

I\'m trying to get an understandable \"Process Name\" for Windows 10 apps. Currently, all of them use ApplicationFrameHost, so I thought I could use either the

5条回答
  •  半阙折子戏
    2020-12-31 13:53

    Below is a similar one for getting the actual process name, Name of process for active window in Windows 8/10

    With Spy++ utility, confirmed that Windows.Core.UI.CoreWindow is a child window of Weather and it is the one that we are interested in. (Verified on Win10 10563)

提交回复
热议问题