Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shift key not recognized when focus is changed to QB64 program
#6
Change

Code: (Select All)
IF _BUTTON(b) <> 0 THEN
to...

Code: (Select All)
IF LEN(_BUTTON(b)) THEN


Why? Cuz I sez so, varmint! Big Grin

I don't know, I've never played around with _BUTTON before, so I'm assuming it would work, just like LEN(INKEY$).

Other than that, I just wanted to +1 Terry for the code post. Very nice! Also, interesting topic about windows focus.

Pete
Shoot first and shoot people who ask questions, later.
Reply


Messages In This Thread
RE: Shift key not recognized when focus is changed to QB64 program - by Pete - 09-16-2024, 07:43 PM



Users browsing this thread: 7 Guest(s)