Results 1 to 2 of 2

Thread: WinApi: ENTER is not send

  1. #1
    New Member
    Join Date
    Sep 12
    Posts
    1

    Question WinApi: ENTER is not send

    Hi,

    I'm trying to write a text into a textfield and simulate the ENTER button. This field is inside a java applet.

    However, ENTER is ignored. The text is written in the field, but ENTER is not pressed. Can you please help me?

    The site is knuddelz.de, I want to fill out the fields and press enter.

    vbnet Code:
    1. SendMessage(&H500932, WM_SETTEXT, 0, "myNickname")
    2. SendMessage(&H1E05FE, WM_SETTEXT, 0, "myPassword")
    3. SendMessage(&H160A52, WM_SETTEXT, 0, "myRoom")
    4.  
    5. SendMessage(&H160A52, WM_CHAR, WM_ENTER, 0&)

    In case of success, a small window would appear.

    Thanks.

  2. #2
    Fanatic Member
    Join Date
    Sep 12
    Location
    To the moon and then left
    Posts
    528

    Re: WinApi: ENTER is not send

    SendMessage(hWnd, WM_CHAR, 13, 1835009)

Posting Permissions

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