I was tring to capture mouse events under my application and as always
I was tring to “prebuild” my test application using PhAB.
I’ve setup a plain project with an empty window. Under this window
I’ve setup a raw callback with only Ph_EV_PTR_NOBUTTON
Ph_EV_PTR_BUTTON set in the mask. A sample callback function
(moveIt™) was set for capturing this event.
As documented I should receive a Ph_EV_PTR_BUTTON or Ph_EV_PTR_BUTTON
events only under my callback function. The PtCallbackInfo_t
structure should handle a PhEvent_t* under event and a
PhPointerEvent_t* under cbdata.
I was tring to capture mouse events under my application and as always
I was tring to “prebuild” my test application using PhAB.
I’ve setup a plain project with an empty window. Under this window
I’ve setup a raw callback with only Ph_EV_PTR_NOBUTTON
Ph_EV_PTR_BUTTON set in the mask. A sample callback function
(moveIt™) was set for capturing this event.
As documented I should receive a Ph_EV_PTR_BUTTON or Ph_EV_PTR_BUTTON
events only under my callback function. The PtCallbackInfo_t
structure should handle a PhEvent_t* under event and a
PhPointerEvent_t* under cbdata.