Ok so I decided to update the Admin Bot, but I want to do it using via index, so far I can send and get text via index but to deal with the nick list Im still using the old fashion way
Dim dlggroupchatwindowclass As Long, splitterwindowex As Long, classcpanecontainerex As Long Dim atladf As Long, atladff As Long, syslistview As Long Dim parent, child, alt As Long dlggroupchatwindowclass = FindWindow("dlggroupchat window class", Form1.Combo1.Text) splitterwindowex = FindWindowEx(dlggroupchatwindowclass, 0&, "splitterwindowex", vbNullString) splitterwindowex = FindWindowEx(splitterwindowex, 0&, "splitterwindowex", vbNullString) splitterwindowex = FindWindowEx(splitterwindowex, 0&, "splitterwindowex", vbNullString) splitterwindowex = FindWindowEx(splitterwindowex, 0&, "splitterwindowex", vbNullString) splitterwindowex = FindWindowEx(splitterwindowex, 0&, "splitterwindowex", vbNullString) classcpanecontainerex = FindWindowEx(splitterwindowex, 0&, "classcpanecontainerex", vbNullString) classcpanecontainerex = FindWindowEx(splitterwindowex, classcpanecontainerex, "classcpanecontainerex", vbNullString) atladf = FindWindowEx(classcpanecontainerex, 0&, "atl:00a2df60", vbNullString) atladff = FindWindowEx(atladf, 0&, "atl:00a2dff0", vbNullString) Call GetListviewItem(atladff)
I though that using the listview index, which is 1 I could do something like this
Dim iPHnd As Long iPHnd = getPalSubForm(WindowClass, Combo1.Text, SplittrWindow10, SplittrIndex10) ListHandle = ChatHnd(iPHnd, listIndex)
with declaring in the form
Const listindex As Integer = 1
No it’s for VB.NET but there should be not much difference, Use Long instead intptr, and the parameter (ctl) should also be Long.
Maybe there is a bit difference in external function declarations but it should not be a problem.
I don’t have VB6 installed, not even on my XP I think so I cannot test it.
Why you send the atl name and then use another?
Did you see the post I made on how to find the controlls by their control ID?
Ah K 🙂 that’s why I gonna check it than, thanks
Man I got the idea of the post which is a genius idea, I just don’t know how to implement it. i tried adding it to a form and module to play with it and figure it out and the code turns red, like is misconfiguration 🙂 this is for vb 6 right?
lol you right I was using api spy and guess it should had be done that way, but if I only use atl:00a2dff0 it works fine.
I haven’t read that post yet, where is it. another thing how about highlighting nicks with their index I tried using this in the old vb 6.0 programs in the form1(beacuse if I leave it in the module that’s in I have to declare a bunch of stuff :)) but I get an error
I get an error in this part, invalid use of addressof
K I figure it out, I think 🙂 after being a lazy asz and doing search in the forums ehhehehehe
I use this function on the form
and in the module
and i’m calling with this
My only concern is that paltalk will change atl:00a2dff0 and atl:00a2df60 with every new Build 🙄
Few posts below yours
https://www.imfiles.com/topic/quick-way-to-find-paltalk-room-handles/