I am very familiar with how to find a window and then another control that is a child of it. But not sure how to do this.

Suppose I use FindWindow to find Notepad. Now I want to find a control called "Static_Text" but I want the second Static_Text control under the parent Notepad. I use FindWindowEx to find the first one. How to I continue the search from there to look for the next? I know I could loop using the GetNextWindow until I find it but I remember there is a way to continue searching. Does anyone know how?

Can someone show me a small example?

Thanks!