2 Attachment(s)
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
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>
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
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
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