Hi.
Is there a way to find out when the user has released the mouse after a
PtSlider move? I setup a Pt_CB_DISARM callback, but it never got called.
Are there any properties that need to be setup for this callback to get
called?
TIA
Augie
Hi.
Is there a way to find out when the user has released the mouse after a
PtSlider move? I setup a Pt_CB_DISARM callback, but it never got called.
Are there any properties that need to be setup for this callback to get
called?
TIA
Augie
Thanks.
So what’s the Pt_CB_DISARM for? Does it work?
TIA
Augie
“Apps” <apps@qnx.com> wrote in message news:3BE85A08.1090405@qnx.com…
Hello Augie,
One thing you can do is attach a callback to the Pt_CB_RAW with an event
mask containing Ph_EV_BUT_RELEASE. Then in the callback test.if ( cbinfo->event->subtype == Ph_EV_RELEASE_REAL )
printf(“Do something\n”);Hope this helps.
Regards,
Dave B.
Augie Henriques wrote:Hi.
Is there a way to find out when the user has released the mouse after a
PtSlider move? I setup a Pt_CB_DISARM callback, but it never got
called.
Are there any properties that need to be setup for this callback to get
called?TIA
Augie
\
Hello Augie,
One thing you can do is attach a callback to the Pt_CB_RAW with an event
mask containing Ph_EV_BUT_RELEASE. Then in the callback test.
if ( cbinfo->event->subtype == Ph_EV_RELEASE_REAL )
printf(“Do something\n”);
Hope this helps.
Regards,
Dave B.
Augie Henriques wrote:
Hi.
Is there a way to find out when the user has released the mouse after a
PtSlider move? I setup a Pt_CB_DISARM callback, but it never got called.
Are there any properties that need to be setup for this callback to get
called?TIA
Augie
Unfortunately it doesn´t work. I submitted a bug report and therefore
should be fixed soon.
Regards,
Dave B.
Augie Henriques wrote:
Thanks.
So what’s the Pt_CB_DISARM for? Does it work?
TIA
Augie
“Apps” <> apps@qnx.com> > wrote in message news:> 3BE85A08.1090405@qnx.com> …
Hello Augie,
One thing you can do is attach a callback to the Pt_CB_RAW with an event
mask containing Ph_EV_BUT_RELEASE. Then in the callback test.if ( cbinfo->event->subtype == Ph_EV_RELEASE_REAL )
printf(“Do something\n”);Hope this helps.
Regards,
Dave B.
Augie Henriques wrote:
Hi.Is there a way to find out when the user has released the mouse after a
PtSlider move? I setup a Pt_CB_DISARM callback, but it never gotcalled.
Are there any properties that need to be setup for this callback to get
called?TIA
Augie
\