Mail Archives: djgpp/1998/05/21/05:36:37
I apologise for amy multiple copies of my previous message on this subject;
my emailer was acting strange.
I wrote:-
> I wrote two Gnu C++ (djgpp v2) programs that use the mouse ...
(1) A program FONT.EXE that I wrote in djgpp v2 Gnu C++, which uses the
mouse in DOS 3 text mode, but polls the mouse instead of setting an interrupt
routine, works OK when called within Windows 95.
(2) Sometimes my Windows 95 gets into a condition which my function
Mouse::settrap() acts badly to, so that the program crashes soon after. This
lasts until I restart Windows 95.
(3) I can't easily change AAEMACS.EXE or SPATRL.EXE to polling the mouse (=
repeatedly asking for the mouse's pointer coordinates and the states of its
buttons), as I found that (at least under DOS 6.22) polling the mouse in a
tight loop makes DOS or its keyboard handler ignore the `special characters'
(ALT combinations, F1 to F12, grey keys, and similar) from code 128 upwards.
- Raw text -