Hello,
I know how to get a handle to a window using FindWindow() but how do I get
all the controls on the window itself?
Please help, thank you.
-p
Adrian - 06 Apr 2005 06:18 GMT
Hi!
Use FindWindowEx or GetNextWindow. See the MSDN for both functions.
Hope that helps.
Best regards, Adrian.
Herfried K. Wagner [MVP] - 06 Apr 2005 11:04 GMT
"Paul" <Paul@discussions.microsoft.com> schrieb:
> I know how to get a handle to a window using FindWindow() but how do I get
> all the controls on the window itself?
P/invoke 'EnumChildWindows'.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>