c++ - how to get text from a window with specific HWND? -


I'm new to Win32 programming and have not worked with CPP for a long time. What I want to do is get the windows HWND spy ++, and get the text of this window. The problem is that I do not know how to create an HW object, can someone give me some ideas? Thanks a lot!

If you have a numeric value of HWND, you can put it on the right type. Start with the correct size integer, e.g.:

  uintptr_t numeric_hwnd = 0x987654; Hwnd hwd = reintep_cast & lt; Hwnd & gt; (Numeric_hwand);  

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -