Why don't you use the
EnumChildWindows[
^] function?
Schehaider_Aymen wrote:
I don't even know how to use that function !
[update]
Well, you have the documentation, after all.
Roughly speaking you call
EnumChildWindows
passing a the handle of ythedialog and a function pointer. Then Windows will call your function many times, each time passing the handle of a different dialog's child window.
[/update]