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

Possibly Related Threads…
Thread Author Replies Views Last Post
  kill "filename.ext" = shift-delete doppler 11 432 02-27-2026, 10:24 PM
Last Post: SMcNeill
  Is there any way to tell what within a QB64 program is triggering false AV detetions? hanness 9 834 12-01-2025, 11:04 AM
Last Post: doppler
  This program causes QB64 to crash - SOLVED Petr 3 822 03-26-2023, 03:59 PM
Last Post: bplus
  Tough to ID key sequences... Pete 4 970 12-04-2022, 04:57 AM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)