Minor bug in INKEY.CH

209 views
Skip to first unread message

CV

unread,
Jul 11, 2020, 8:15:37 PM7/11/20
to Harbour Users
Hi

In include\inkey.ch I found this:

#define K_NCMOUSEMOVE           1016   /* Non-Client Area Mouse Movement */
#define K_MWLEFT                1017   /* Mouse Wheel Left */
#define K_MWRIGHT               1018   /* Mouse Wheel Right */

#define K_MINMOUSE              1001
#define K_MAXMOUSE              1016    // bug: should be 1018?

#define HB_K_RESIZE             1101

Regards
Claudio Voskian

GeoffD

unread,
Jul 11, 2020, 11:29:05 PM7/11/20
to Harbour Users
Hi Claudio
I last downloaded Harbour in February 2020

I don't have these 2 definitions in my inkey.ch

#define K_MWLEFT                1017   /* Mouse Wheel Left */
#define K_MWRIGHT               1018   /* Mouse Wheel Right */

I just wonder if you have a modified or non-standard inkey.ch or perhaps it's part of xHarbour?

I did a search of the core-master source files (less than 2 years old) for K_MWRIGHT but it wasn't found and my console mode application does not respond to wheel side movement.

Sorry can't be of more help
good luck
Geoff

CV

unread,
Jul 12, 2020, 12:03:33 AM7/12/20
to Harbour Users
Hi Geoff

I'm referring to this file:

Regards 
Claudio Voskian

GeoffD

unread,
Jul 12, 2020, 12:27:47 AM7/12/20
to Harbour Users
Hi Claudio
OK I see it. Now I'm not sure where that fits in the scheme of things.
I'm not a moderator but I suggest you submit this to the Harbour Developers google group
where  Przemyslaw Czerpak  is likely to see it as he is one of the main contributors to the language

Hope this helps
Geoff

mstuff kstuff

unread,
Jul 12, 2020, 11:26:53 PM7/12/20
to Harbour Users
Not sure if I should but in, but, I had to.

I am not sure what MAXMOUSE is supposed to mean/represent.

Making fun of it, a big mouse as opposed to a little mouse?

Here is a link to a program that will show you what key or mouse press was clicked/pressed in your Harbour version.


I'm not sure if the prg will help you.
Mike
Reply all
Reply to author
Forward
0 new messages