Find the corresponding process of a window with Process Explorer
Download Process Explorer at https://download.sysinternals.com/files/ProcessExplorer.zip
Unzip and run procexp.exe
Drag the button with crosshair icon over the window in question
The corresponding process will be selected in the Process Explorer
Reference
https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer