Results 1 to 5 of 5

Thread: Distinguish Between Mouse vs Finger vs Pen vs Eraser for Surfaces And Tablets

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2018
    Location
    New Orleans, Austin, Santa Monica
    Posts
    35

    Cool Distinguish Between Mouse vs Finger vs Pen vs Eraser for Surfaces And Tablets

    Short code to distinguish between touch with a Mouse vs Finger vs Pen (stylus) vs Eraser (stylus top), applicable for MS Surface and Tablet type computers. This code does not use InkEdit /InkPicture controls, but uses the "GetMessageExtraInfo" function. The code is short and should be self explanatory. I hope someone finds it useful! Long live VB6!

    Stan
    Attached Images Attached Images  
    Attached Files Attached Files

  2. #2
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    6,167

    Re: Distinguish Between Mouse vs Finger vs Pen vs Eraser for Surfaces And Tablets

    More info from MSDN at System Events and Mouse Messages.

    For instance, in OP sample there is no check for 0xFF515700 signature.

    cheers,
    </wqw>

  3. #3
    New Member
    Join Date
    Apr 2020
    Posts
    3

    Re: Distinguish Between Mouse vs Finger vs Pen vs Eraser for Surfaces And Tablets

    sorry it does not respond to elctronic pen , i hope yo can and test electronic pen such as hp digital pen

  4. #4

    Thread Starter
    Member
    Join Date
    Jun 2018
    Location
    New Orleans, Austin, Santa Monica
    Posts
    35

    Re: Distinguish Between Mouse vs Finger vs Pen vs Eraser for Surfaces And Tablets

    Hi mrfarag-
    Are there any other apps on your computer which respond to your electronic pen?
    Is your pen compatible with your computer/monitor?
    If so, what is the name & model number of your pen, and which type computer (or monitor) you are using (name, model#)?
    Stan

  5. #5
    New Member
    Join Date
    Apr 2020
    Posts
    3

    Re: Distinguish Between Mouse vs Finger vs Pen vs Eraser for Surfaces And Tablets

    microsoft paint brush respond to the pen and activespire ..... only vb6 also c# . i hope you get a solution for this

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width