Hi,
Can someone post code to Enumerate child windows ? The code in code bank section doesn't works.
please help.
thanks
Printable View
Hi,
Can someone post code to Enumerate child windows ? The code in code bank section doesn't works.
please help.
thanks
What code in the CodeBank? What's happens when you use it?
Looks like all you have to do is pass hwnd, no cast.
Although, considering he does show both explicit/strict on - you may have more problems if that flagged you. He could have done this is something besides 1.1.
I can't say for certain; all of it looks really old.
There's no need to cast. Just declare any parameters that represent handles as type IntPtr instead of Integer/Int32 in the first place. Alternatively you can invoke the IntPtr constructor and pass the Integer as an argument.
See. People have a hope of helping if they know what you're talking about.