Results 1 to 13 of 13

Thread: chr problem !!!

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2012
    Posts
    339

    chr problem !!!

    i use the following code for virtual key code conversion

    Code:
    If code = HC_ACTION And wParam <> 257 Then
            CopyMemory kybd, ByVal lParam, Len(kybd)
           Form1.Text1.Text = Form1.Text1.Text & Chr(kybd.vkCode)
            myfunc = CallNextHookEx(Hook, code, wParam, lParam)
            Else
          If code = HC_ACTION And wParam <> 13 Then
            CopyMemory kybd, ByVal lParam, Len(kybd)
           Form1.Text1.Text = Form1.Text1.Text & "enter key"
           ElseIf code < 0 Then
            myfunc = CallNextHookEx(Hook, code, wParam, lParam)
        End If
        End If
    but it does not give any symbol for key 13 (enterkey) , how to do it ???

    i want it write enterkey instead of blank symbol
    Last edited by useruseronline; Aug 18th, 2012 at 07:18 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width