how to know the window type?
I have a doubt, how i can get the window type from a window handle?, i mean to know if the owner of a window handle is a dialog box, button, edit text, listbox or static.
Thank you
Additional information can be found from the window styles, which can be obtained via the GetWindowLong() function specifying GWL_STYLE for the nIndex parameter. For example, pushbuttons and check boxes both have the window class "button" but pushbuttons will have the window style BS_PUSHBUTTON and check boxes will have the window style BS_CHECKBOX.
Hope this helps,
-Ron Pihlgren
VC++ Testing