PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
help me with API-VBForums
Results 1 to 8 of 8

Thread: help me with API

  1. #1

    Thread Starter
    Addicted Member jeroen_12's Avatar
    Join Date
    Jul 2005
    Posts
    152

    help me with API

    hi guys i need help
    this time on msn

    i found this code how to change msn status without the
    Msn messenger API

    VB Code:
    1. Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
    2. Public Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
    3. Public Const WM_COMMAND = &H111
    4.  
    5. Public Function MSN_FindMSN()
    6. Dim hwd As Long
    7. bah = FindWindow("MSBLWindowClass", vbNullString)
    8. MSN_FindMSN = hwd
    9. End Function
    10.  
    11. Sub Online()
    12. PostMessage MSN_FindMSN, WM_COMMAND, 40166, 0
    13. End Sub

    What i want to know is how did he got the nr of online >>40166<<<


    VB Code:
    1. Sub Online()
    2. PostMessage MSN_FindMSN, WM_COMMAND, >>> 40166<<<, 0
    3. End Sub

    how did get that ?? help me please

  2. #2
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: help me with API

    Use SPY++ and click messages on the MSN window, then you can find all api calls there like that ; )

  3. #3

    Thread Starter
    Addicted Member jeroen_12's Avatar
    Join Date
    Jul 2005
    Posts
    152

    Re: help me with API

    thank you

  4. #4

    Thread Starter
    Addicted Member jeroen_12's Avatar
    Join Date
    Jul 2005
    Posts
    152

    Re: help me with API

    can you also give me the link i cant find it :S

  5. #5

    Thread Starter
    Addicted Member jeroen_12's Avatar
    Join Date
    Jul 2005
    Posts
    152

    Re: help me with API

    haha never mind thanks guys i foun dit on my Visual studio cd

  6. #6

    Thread Starter
    Addicted Member jeroen_12's Avatar
    Join Date
    Jul 2005
    Posts
    152

    Re: help me with API

    sorry guy but i dont get it (A) can some one tell me how it works ??
    how do that with SPY++ (A)

  7. #7
    Lurker
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,651

    Re: help me with API

    1. Load Spy++
    2. Load MSN Messenger
    3. Open up the Find Window tool (the one that looks like a pair of binoculars)
    4. Drag the white box over your MSN window and release it
    5. Click Messages option box and then OK.
    6. You will see a blank window in Spy++. Do stuff with the MSN window and all the messages will show up in the Spy++ window.


    HTH.

  8. #8

    Thread Starter
    Addicted Member jeroen_12's Avatar
    Join Date
    Jul 2005
    Posts
    152

    Re: help me with API

    Thanx !!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width