• Advertisement
Sign in to follow this  

[c++] List of controls of a window

This topic is 3350 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys, i want to get all the controls of a window knowing the HWND, is there a way?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Evil Steve
EnumChildWindows will give you the HWND of all child windows of the window you pass in.


last question:
is there a way to get the window type? (textbox,button etc.)

Share this post


Link to post
Share on other sites
GetWindowInfo() can be used to determine the class atom for a given window. The class atom can be used with GetClassInfo() to get more information about the window class.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement