How to get the Window Class Name and Id from HWND?
I searched but found the opposite is more popular.
Any thoughts?!?!?
Answers by Andreas and Arthur show how to get the class name. With 'Id' perhaps you mean the window identifier for child windows;
GetWindowLong(HWnd, GWL_ID)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With