Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine type and quantity of controls? 1

Status
Not open for further replies.

RileyCat

Programmer
Apr 5, 2004
124
US
I am writing an app on which the number and types of controls can vary depending on a variety of variables and input.

My question is, when a dialog box opens, is there a way to determine how many controls are in the window and what type each of the controls are?

I'm hoping there's either an existing class member somewhere that I cannot find or an idea for a loop (for, while, etc) to accumulate the same information.

Thanks in advance!
 
there is an API function - EnumChildWindows.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top