[fpc-pascal]QT - mouse and keyboard simult.

XHajT03 at mbox.vol.cz XHajT03 at mbox.vol.cz
Sat Oct 7 14:58:05 CEST 2000

Date sent:      	Fri, 06 Oct 2000 11:02:36 +0200
From:           	"Martin Hankovec" <Martin.Hankovec at oku-st.cz>
To:             	<fpc-pascal at deadlock.et.tudelft.nl>
Subject:        	Re: [fpc-pascal]QT - mouse and keyboard simult.
Send reply to:  	fpc-pascal at deadlock.et.tudelft.nl

> Well, I'd like to use API units. But I cannot start running keyboard
> and mouse simultaneously. If I test ... uses Mouse, Keyboard ...
> ...... and in the program use GetMouseEvent etc., it looks like this

 You have to use PollMouseEvent and PollKeyEvent first to find out 
what's available, and only then either GetMouseEvent, or GetKeyEvent!

                     Have a nice day

                              Tomas Hajny, XHajT03 at mbox.vol.cz on Internet
                                           tom.sms at axon.cz in urgent cases

More information about the fpc-pascal mailing list