How to use the SendMessage API!!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sintax1
    New Member
    • Nov 2009
    • 2

    How to use the SendMessage API!!!

    I wanna send a text to a MSN chat screen but i dont know how!!! i know how to get the form handle but not how to get the control handle. Pls help me.
  • vb5prgrmr
    Recognized Expert Contributor
    • Oct 2009
    • 305

    #2
    Once you have the window handle, you will then need to use the EnumChildWindow API to find the handle to the control you want to Send A Message to. Then with that handle I believe the parameter arguement will need the const of WM_SETTEXT (off the top of my head...).



    Good Luck

    Comment

    Working...