Announcement

Collapse
No announcement yet.

Keyboard hook beep

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Keyboard hook beep

    https://forum.powerbasic.com/forum/u...k-code?t=24721
    Why does keyboard beep with each character in this example?
    Is there a solution like setting buffer to 0 or null?
    https://duckduckgo.com instead of google

  • #2
    Hey Mike,

    Because label aka static are not build to accept keyboard input..

    Comment


    • #3
      Thanks again!! That was it. https://forum.powerbasic.com/forum/u...k-code?t=24721
      https://duckduckgo.com instead of google

      Comment


      • #4
        Irregularity, in KeyBoardProc, iCode should be viewed as a 32bit long instead of a 16bit integer...

        Comment


        • #5
          Another good catch!
          Thanks Pierre!

          Irregularity, in KeyBoardProc, iCode should be viewed as a 32bit long instead of a 16bit integer...
          FUNCTION KeyBoardProc(BYVAL iCode AS INTEGER, BYVAL wParam AS DWORD, BYVAL lParam AS LONG) AS DWORD 'wrong
          FUNCTION KeyBoardProc(BYVAL iCode AS LONG, BYVAL wParam AS DWORD, BYVAL lParam AS LONG) AS DWORD

          https://forum.powerbasic.com/forum/u...k-code?t=24721
          https://duckduckgo.com instead of google

          Comment

          Working...
          X