Pt_EV_PTR_MOTION events

How can i know that mouse was moved using Pt_EV_PTR_MOTION_BUTTON or Pt_EV_PTR_MOTION_NOBUTTON events( in non-PhApb application whithout widgets), they are off by default ?

You want to get them or what?

What do you mean with an nonPhab application?
Are you still running a PtMainLoop()?

If yes:
create an PtRegion widget with senseflags for these events

if no:
create an Region with PhRegionCreate and receive your
events with PhEventPeek and so on.


Bye Sascha( sascha@bitctrl.de )

Sascha Morgenstern
BitCtrl Systems GmbH
Weißenfelser Straße 67
Germany - 04229 Leipzig
Phon. +49 341 490 670
FAX. +49 341 490 67 15
eMail: sascha@bitctrl.de
WWW: http://www.bitctrl.de


“Andrey Belyaev” <a.belyaev@compassplus.ru> schrieb im Newsbeitrag
news:1104_987760396@phantom…

How can i know that mouse was moved using Pt_EV_PTR_MOTION_BUTTON or
Pt_EV_PTR_MOTION_NOBUTTON events( in non-PhApb application whithout

widgets), they are off by default ?