Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: Spam on May 05, 2005, 02:16 AM

Title: FindWindowEx
Post by: Spam on May 05, 2005, 02:16 AM
im having problems with this api. i'm trying to find the hwnd of the "Edit" box on battle.net client. this is where its located -> Starcraft -> SlDgDialog -> Edit
one problem i seem to find is that theres more then 1 SlDgDialog (i may have typo'd name here) and i need to make it choose the correct one. can anyone help me? im pretty sure i gotta use the Findwindowex api after i find sc's hwnd of course.
Title: Re: FindWindowEx
Post by: Yegg on May 05, 2005, 03:12 PM
Did you try looking around on pscode.com? It may have something useful on there.
Title: Re: FindWindowEx
Post by: Spam on May 05, 2005, 04:53 PM
Yes ive looked at it but i couldn't find anything that could help me with the problem of mine.
Title: Re: FindWindowEx
Post by: Yegg on May 05, 2005, 08:49 PM
I personally can't help you on this, but if you don't get any luck soon, you can try asking for help on forums.devshed.com. It's where I usually go for programming forums. But there are many skilled programmers on that site in many different languages who can hopefully help you with your problem. I know the Visual Basic 6 section has some active question answerers (excuse my grammar) who know a great deal about VB6. Hope that site helps.
Title: Re: FindWindowEx
Post by: l)ragon on May 06, 2005, 08:29 AM
Might want to look up the EnumChildWindows api.
Title: Re: FindWindowEx
Post by: Spam on May 06, 2005, 01:41 PM
k ill try that. thnx
Title: Re: FindWindowEx
Post by: Spam on May 08, 2005, 05:30 AM
u use that for mdi child right? well these classes arnt child's of the program so i dont think its gona work.
Title: Re: FindWindowEx
Post by: R.a.B.B.i.T on May 08, 2005, 10:17 AM
I child windows are windows created by the parent thread, not necessarily MDI Child forms.
Title: Re: FindWindowEx
Post by: l)ragon on May 10, 2005, 12:31 AM
Enumerating windows (http://vbaccelerator.com/home/NET/Code/Libraries/Windows/Enumerating_Windows/article.asp)
this is what i was trying to get at, if you didnt catch on.