Getting class name
I was wondering how to get a specific class name of an external application that's running. This is in context of using it w/ keyboard hooking to a specific application
[173 byte] By [
80Degrees] at [2007-11-19 19:44:47]

# 1 Re: Getting class name
If you have the hwnd to the other running application you can simply use ::GetClassName(..) ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windowclasses/windowclassreference/windowclassfunctions/getclassname.asp).
If this is not what you looking for, please clarify your question.
Cheers
# 2 Re: Getting class name
this has been an ongoing issue for me
I'm assuming hWnd is the handle of the targeted window?
How do you get the hWnd of a specific application though?
# 4 Re: Getting class name
How do you get the hWnd of a specific application though?
FindWindow (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/findwindow.asp)
EnumWindows (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/enumwindows.asp)
Ejaz at 2007-11-10 23:45:59 >
