Quote Originally Posted by tboygee View Post
Wow.

Please, is there anyone willing to help me without judging my programming skills or motivation for daring to ask a question in the first place?

You've help a bunch Victor, I just need the rest of the puzzle - how do I use the newly obtained handle? I can't find a way to obtain handles of my other windows do a comparison. Can you give a quick example?
The piece you seem to be missing here is the difference between a HWND and a CWnd or CWnd*. Windows keep track of its resources, so a HWND is the identifier that you would would supply or get from Windows to know which resource you're referring to.

Visual Studio comes with MFC which is a class library that encapsulates a lot of the Windows API. If you see a CWnd or a pointer to one, it's an MFC object that represents a window. CWnd has a HWND operator, so you can pass a CWnd object to any function that's expecting an HWND, or you can use GetSafeHwnd() or m_hWnd if you need the Windows handle.