Skip to content

id Do Not Disturb doesnt work

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #187006
    light 2012
    Member

    hi 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

     

    #187027
    Admin
    Administrator

    umm 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 🙂

    #187026
    light 2012
    Member

    thanks loco, Wonderful
    work now 🙂

    #187025
    Admin
    Administrator

    YW 🙂

    #187024
    light 2012
    Member

    how Can I get the name of the Owner in paltalk room to Textbox in my project Topic disapproved
    >> why loco?

    #187023
    light 2012
    Member

    i need it , please 🙄

    #187022
    Winter
    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

    #187021
    light 2012
    Member

    ThankS for your interest, grateful you

    but where can I get the sample source code of loco?
    If you upload me a simple example. please 😮

    #187020
    light 2012
    Member

    🙄 loco , winter
    🙄 Where you are? 🙄

    #187019
    Admin
    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 🙂

    #187018
    Admin
    Administrator

    hey 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 🙂

    #187017
    light 2012
    Member

    what about “Show Room Statistics” POPUP room>> list>>> “File 😉
    I think this is the way to get owner name to textbox? 🙁

    #187016
    String
    Member

    @Admin 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.

    #187015
    light 2012
    Member

    I dont have code
    I mean it may help to get owner name

    #187014
    String
    Member

    This 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 435

    Dim 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

     

Viewing 15 posts - 1 through 15 (of 22 total)
  • You must be logged in to reply to this topic.