Getting the HWND's class
How could I find out the class name of a window?
This is how the window is created:
In this case the value I want to get from the given hwnd is WC_EDIT or "Edit". None of the GetWindowLong parameters seem to do this.
hEdit=CreateWindowEx(NULL, WC_EDIT, "", WS_CHILD|WS_VISIBLE|WS_BORDER, 2, 35, 100, 15, hwnd, (HMENU)3, HINST, NULL);
This may be one hell of a stretch but have you thought about the GetClassName function? ;)
No, I hadn't, but it works.
Thank you very much.