View Single Post
  #2  
Old 06-29-2005, 05:15 PM
Vern Vern is offline
Member
 
Join Date: Feb 2004
Posts: 46
Default Re: vb.net win32Api enumchildwindows help

Don't use child window, use thread window

Use GetProcessByName to get the process ID ex: "PokerStars"
Use GetWindowThreadProcessID to get the main processes window thread ID
Then use EnumThreadWindows with that Process ID to generate a callback you can capture all the sub window handles from.

Vern

P.S. Win32 API calls suck [img]/images/graemlins/smile.gif[/img]
Reply With Quote