The number of subwindows

Hi,
I am writing a small program inserting multiple subwindows into a panel. Is there any comand or function I could use to count the number of subwindows in this panel?
Thanks in advance!
You need the ChildWindowList() function. If you have subwindows inside of subwindows, you will need to write a recursive function to find them all.

Once you have a list, you can count the items using ItemsInList().

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com