Skip to content

Paltalk color apis

Viewing 12 posts - 16 through 27 (of 27 total)
  • Author
    Posts
  • #188518

    yep his trick work but try new thing, Departure thing 8)

    subclassing a remote control is fun, try it you will see programming is fun too and new headache 😀

    #188517
    Admin
    Administrator

    Aigh i could try to figure it out but will departure way be better or just less code 🙂

    Tha’s my last quesiton I promise 😆

    #188516

    I dont know his code like he said just one line of code, but subclassing if you dont do it well, it will crash your app easy.

    do you understand sp trick?, U have to modify a little bit his code to get what you want.

    man ask many questions if you want, we’re just discussing 🙂 but where is Departure???

    #188515
    Departure
    Member

    i used consts

    Const GW_Child As Long = 5

    example:

    blahh2 = FindWindowEx(blahh1 , 0& , wtl_Splitterwindow , vbnullstring)
    blahh3 = GetWindow(Blahh2 , GW_Child) ‘This is normally where the atl### control is

    I came across this consts by mistake, I was originally researching some other API’s and found this little gem, I found a few others also, danmm there are a lot of APi’s that are not knowen very much.

    What this pretty much does , is it will get the child control of wtl_Splitterwindow, and ofcause the child control of wtl_Splitterwindow is ATL#####, So in other words it will get the unknowen handel to the child control (hope that makes sence)

    the exmple above is not real code i just typed it off the top of my head for an example, but you get the idea and you know the rest of the code needed to complete your own function for paltalk

    If you want i’ll post an example code

    #188514

    do you get it loco? 8)

    #188513
    Admin
    Administrator

    lol ah 😯 hehe man can u post the example code i give ya full credit 😆

    #188512

    read this post loco

    [url]

    [/url]

    you will find the solution yourself 8)

    #188511
    Admin
    Administrator

    aigh, i gonna give it a shot 🙂

    #188510
    Departure
    Member

    ATL = FindWindow(“My Window Class”, PTRoom)
    ATL = FindWindowEx(ATL, 0, “WTL_SplitterWindow”, vbNullString)
    ATL = FindWindowEx(ATL, 0, “WTL_SplitterWindow”, vbNullString)
    ATL = FindWindowEx(ATL, 0, “WTL_SplitterWindow”, vbNullString)
    ATL = GetWindow(ATL , GW_Child) ‘ this is normally where you would have ATL = FindWindowEx(ATL , 0 , “Atl:0987374” ) what ever….

    im not sure how much more easyer i can explain it Admin, but ill post a working code tonight when i get home…

    and then ofcause you continue to subclass down to the richedit20a

    #188509
    Admin
    Administrator

    alrighty then let me try again cause i try sp i cant make it work so far 🙄

    #188508

    nope sp code does not get the right altxxx for your programm, his code is just an example.

    check the constant GW_Child and other one GW_HWNDNEXT

    GW_Child get the child of your current window handle

    GW_HWNDNEXT get the next window of your current window handle, these two constants allow you to list all window child 8) with a recursive function

    #188507
    Departure
    Member

    spot on namomachine

Viewing 12 posts - 16 through 27 (of 27 total)
  • You must be logged in to reply to this topic.