Hi, i have very little experience in MFC and VC++. I was developing a small project, during development i need to view the list of all opened windows in my…