Paltalk 9.2 Apis

You can talk about VB programming here

Paltalk 9.2 Apis

Postby locohacker » Tue Jul 24, 2007 10:21 pm


Well this is weird, when I try to send text to paltalk 9.2 with the old code which is this
[vb]Dim parent, child, alt, rich20 As Long
parent = FindWindow("DlgGroupChat Window Class", Form1.Text1.Text)
child = FindWindowEx(parent, 0, "WTL_SplitterWindow", vbNullString)
child = FindWindowEx(child, 0, "WTL_SplitterWindow", vbNullString)
child = FindWindowEx(child, 0, "WTL_SplitterWindow", vbNullString)
child = FindWindowEx(child, 0, "WTL_SplitterWindow", vbNullString)
alt = GetWindow(child, GW_Child)
alt = FindWindowEx(alt, 0, "atlaxwin71", vbNullString)
alt = FindWindowEx(alt, 0, "#32770", vbNullString)
rich20 = FindWindowEx(alt, 0, "RichEdit20A", vbNullString)
rich20 = FindWindowEx(alt, rich20, "RichEdit20A", vbNullString)
Call SendMessageSTRING(rich20, WM_SETTEXT, 0&, Text$)
Call SendMessageLong(rich20, WM_KEYDOWN, 13, 0&)[/vb]

Does not work, but is I use this
[vb]Dim parent, child, alt, rich20 As Long
parent = FindWindow("DlgGroupChat Window Class", Form1.Text1.Text)
child = FindWindowEx(parent, 0, "WTL_SplitterWindow", vbNullString)
child = FindWindowEx(child, 0, "WTL_SplitterWindow", vbNullString)
child = FindWindowEx(child, 0, "WTL_SplitterWindow", vbNullString)
child = FindWindowEx(child, 0, "WTL_SplitterWindow", vbNullString)
alt = GetWindow(child, GW_Child)
alt = GetWindow(alt, GW_HWNDNEXT)
alt = FindWindowEx(alt, 0, "atlaxwin71", vbNullString)
alt = FindWindowEx(alt, 0, "#32770", vbNullString)
rich20 = FindWindowEx(alt, 0, "RichEdit20A", vbNullString)
rich20 = FindWindowEx(alt, rich20, "RichEdit20A", vbNullString)
Call SendMessageSTRING(rich20, WM_SETTEXT, 0&, Text$)
Call SendMessageLong(rich20, WM_KEYDOWN, 13, 0&)[/vb]

Works fine, just by adding

[vb]alt = GetWindow(alt, GW_HWNDNEXT)[/vb]

Thas nano codes, :) but that works is just weird how it use to wrok fine before :)

Anyways I am working on my programs to upgrade them :)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4325
Joined: Fri Dec 31, 2004 6:59 pm

Postby Departure » Wed Jul 25, 2007 7:16 am

well it looks to be another level to subclass down to, I have yet to check out the class order of the paltalk 9.2 scene edition, But I did some small coding on an old project called "Multi TriggerBot and added a fading option that I have been meaning to add for a long time.

This project did'nt get many downloads on the old starbase.se site, But I my self find it the most usful out of the programs I have made for paltalk, And had spent many hours coding it from scratch.
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby locohacker » Wed Jul 25, 2007 8:08 am

But what i found weird, is that when I use api spy is the same I mean same structure as 9.1 but it don't work :roll:

Then I remember tha nano gave me a code for getting the room list with the next thingy code, so I use it to check and it work lol 8)
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4325
Joined: Fri Dec 31, 2004 6:59 pm

Re: Paltalk 9.2 Apis

Postby Snoopy1968 » Sun Sep 16, 2007 11:50 am

yeh thanks for the tip simpe quesiton what is the code for adding the special charater paltalk uses for Yes theres a special charater under the Y isntthere?
Snoopy1968
imFiles Newbie
imFiles Newbie
 
Posts: 47
Joined: Fri Sep 14, 2007 8:29 pm


Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests