- This topic has 21 replies, 4 voices, and was last updated 10 years ago by
Locohacker.
-
AuthorPosts
-
February 18, 2012 at 1:15 pm #187006
light 2012
Memberhi all
could any one show me the id (Do Not Disturb )
I tried this code and doesnt work
🙄Dim window As Long Dim x As Long, editx As Long Dim Button As Long Dim strPath As String Dim dlggroupchatwindowclass As Long dlggroupchatwindowclass = FindWindow("dlggroupchat window class", Form1.Text1.text) PostMessage dlggroupchatwindowclass, WM_COMMAND, 32824, 0
February 18, 2012 at 3:21 pm #187027Locohacker
Administratorumm maybe this one will work
Dim window As Long Dim x As Long, editx As Long Dim Button As Long Dim strPath As String Dim dlggroupchatwindowclass As Long dlggroupchatwindowclass = FindWindow("seinfeld_superman", vbNullString) PostMessage dlggroupchatwindowclass, WM_COMMAND, 32824, 0
If doesnt I can take a looksy if u want 🙂
February 18, 2012 at 3:32 pm #187026light 2012
Memberthanks loco, Wonderful
work now 🙂February 18, 2012 at 3:34 pm #187025Locohacker
AdministratorYW 🙂
March 8, 2012 at 2:50 pm #187024light 2012
Memberhow Can I get the name of the Owner in paltalk room to Textbox in my project Topic disapproved
>> why loco?March 10, 2012 at 5:59 pm #187023light 2012
Memberi need it , please 🙄
March 13, 2012 at 2:10 pm #187022Winter
Member@light 2012 wrote:
how Can I get the name of the Owner in paltalk room to Textbox in my project Topic disapproved
>> why loco?use this code to find the handle of room Owner:
Dim dlggroupchatwindowclass As Long, splitterwindowex As Long, cwndvideobar As Long Dim cpngimagectrl As Long, ctransparenttextout As Long dlggroupchatwindowclass = FindWindow("dlggroupchat window class", "room To Connect- Voice Room") splitterwindowex = FindWindowEx(dlggroupchatwindowclass, 0&, "splitterwindowex", vbNullString) splitterwindowex = FindWindowEx(splitterwindowex, 0&, "splitterwindowex", vbNullString) cwndvideobar = FindWindowEx(splitterwindowex, 0&, "cwndvideobar", vbNullString) cpngimagectrl = FindWindowEx(cwndvideobar, 0&, "cpngimagectrl", vbNullString) ctransparenttextout = FindWindowEx(cpngimagectrl, 0&, "ctransparenttextout", vbNullString) ctransparenttextout = FindWindowEx(cpngimagectrl, ctransparenttextout, "ctransparenttextout", vbNullString) ctransparenttextout = FindWindowEx(cpngimagectrl, ctransparenttextout, "ctransparenttextout", vbNullString)
Then use the sample source code of loco to get text ( owner nick) to text box
March 13, 2012 at 4:39 pm #187021light 2012
MemberThankS for your interest, grateful you
but where can I get the sample source code of loco?
If you upload me a simple example. please 😮March 26, 2012 at 8:53 am #187020light 2012
Member🙄 loco , winter
🙄 Where you are? 🙄March 26, 2012 at 2:27 pm #187019Locohacker
Administrator🙂 lol crap I though u could know who the room owner was lol but now I see paltalk added that in the room hehehe, aigh let me see if i could put a quick code for ya 🙂
March 31, 2012 at 3:25 pm #187018Locohacker
Administratorhey I need help in here lol, I can’t think of how to get the owner name, i though about using like the last line thingy from the outogreeter lol but that shit dont work 🙂
April 1, 2012 at 9:28 pm #187017light 2012
Memberwhat about “Show Room Statistics” POPUP room>> list>>> “File 😉
I think this is the way to get owner name to textbox? 🙁April 2, 2012 at 5:41 am #187016String
Member@locohacker wrote:
hey I need help in here lol,
I put an hour into this problem and it appears that the cTransparentTextOut control (the control that holds the room owner name and other info at the top of the room) doesn’t hold any retrievable text. It doesn’t even return a length. Haven’t tried anything that deals with the “Show Room Statistics” POPUP” that’s described above.
What do you have so far light? post your code.
April 2, 2012 at 4:50 pm #187015light 2012
MemberI dont have code
I mean it may help to get owner nameApril 3, 2012 at 11:38 am #187014String
MemberThis code will get the text from the Room Statistics window. You can parse out the owners name yourself.
This was tested on Pal version 10.2 build 435Dim ihnd As Long 'find room window ihnd = FindWindow("dlggroupchat window class", "Room Name Here") 'click menu item PostMessage ihnd, WM_COMMAND, 33248, 0 'You might want to put the following bit of code into a timer rather than using a pause Pause(0.50) ihnd = getPalSubForm("#32770", "Room Statistics", "Static", 1) Dim TheText As String, TL As Long TL = SendMessageLong(ihnd, WM_GETTEXTLENGTH, 0&, 0&) TheText = String(TL + 1, " ") Call SendMessageByString(ihnd, WM_GETTEXT, TL + 1, TheText) TheText = Left(TheText, TL) Debug.Print TheText
-
AuthorPosts
Related
- You must be logged in to reply to this topic.