locked
Check stylus barrel button state when hovering

    Question

  • if there is any notification in metro apps like "WM_PointerUpdate"...

    I want to check the barrel button is pressed when hover and keep update the state.

    But the Event "Pointer_Entered" is triggered only once before the "Pointer_Exited"

    to get the barrel button event.

    Monday, April 15, 2013 12:17 PM

All replies

  • You should get a PointerPressed event when the barrel button is pushed.

    --Rob

    Tuesday, April 16, 2013 2:01 AM
    Owner
  • You should get a PointerPressed event when the barrel button is pushed.

    --Rob


    Thanks for reply.

    But I need to detect & update the button state when Hover , not yet pressed or move.

    For example, When the pen is hover, I would like to pop a dialog when the barrel button is pressed

    But I don't know where to get the button event update because the "Pointer_Entered" is not coming again

    • Edited by Allen_Sun Tuesday, April 16, 2013 2:33 AM
    Tuesday, April 16, 2013 2:23 AM