PDA

View Full Version : API Trouble


jadedchron
10-24-2003, 05:37 PM
Hey guys/gals, I just found this place;) Anyway, I'm having trouble finding a child/parent window on AIM. I haven't used VB in sooo long so I'm a wee bit rusty. The problem is I've installed DeadAIM and I have the tab feature enabled. Well, since it's enabled it's no longer AIM_IMessage -> WndAte32Class but rather DeadAIM_TabbedIM -> AIM_IMessage -> and then something here. When I try to call:

"
Parent& = FindWindow("DeadAIM_TabbedIM", vbNullString)
Child1& = FindWindowEx(Parent&, 0&, "AIM_IMessage", vbNullString)
Child2& = FindWindowEx(Parent&, Child1&, "WndAte32Class", vbNullString)"

it simply returns a 0 for the hWnd. I'm using an API Spy tool as well. I just simply want to be able to send an IM w/this deadaim tab feature enabled, but finding the right window structure is preventing me from doing so. I hope that was clear and maybe someone will have an idea of what the heck I'm talking about:D

Thanks,

nick


EDIT: Not a very active forum I see heh. Anyway, I figured it out. I was just pickin up on the wrong Parent/Child setup. Thx anyway.

M-funKs
01-04-2004, 08:33 PM
hey,
do you have spy++ or something? ...so you can find out exactly how everything lines up on deadaim. if you dont have spy++ use a loop that goes through every child of dead aim [getwindow(Parent&,2)] and displays the class name, so you get the class name of the object you want. know what i mean?

good luck