Questions tagged [pen]
118 questions
1
vote
1 answer
1
vote
2 answers
UWP How to detect pen button press
I am developing an app in UWP for Windows 10.
I would like to perform some action when the user presses a button on the Pen (e.g. eraser or barrel button).
Ideally, I would like to have an app-wide listener that is fired when the user presses e.g.…

Cristiano Ghersi
- 1,944
- 1
- 20
- 46
1
vote
1 answer
Pen mouse messages are suppressed when pen is positioned on a button (in WndProc method). How to fix this?
I want to keep track of the pen's position from anywhere. I want WndProc to be called even if it's on the button. But, If there is a button in the form, wndProc does not occur. What should I do?
Some details:
Certain pen mouse message comes in…

123456lllll
- 45
- 1
- 5
1
vote
0 answers
Volito2 replacement pen
I bought a Wacom volito2(ctf-420)drawing tablet second-hand the other day, but it did’nt come with the pen. I was just wondering if anyone knows a place where i could get a replacement pen.
Thanks in advance :P

user9444109
- 11
- 2
1
vote
3 answers
Moleskine Pen+ convertible with Nnotebooks of Neo Smart Lab
I'm very new in using smartpens and I'm not sure in which forum I best post questions about it...
I have a Moleskine Smart writing set but would like to make certain notes on single sheets (like this ones) or use other notebooks than the…

Mat D.
- 453
- 6
- 15
1
vote
1 answer
ReactJS Pen events
I just want to get some basic events which works perfectly with the mouse, but has crazy results with my surface pencil. ReactJS does not support the pointer type so I thought of using the Mouse event type.
The Move and the Down and Up wont be…

rufreakde
- 542
- 4
- 17
1
vote
0 answers
GDI Plus DrawPolygon gives different result depending on alpha value
I recently have found a strange behavior of DrawPolygon API of GDI plus. That is if I set the alpha value of the pen to 255 (No transparency), it gives me a result, but if I set the alpha to a number between 0-255, it gives me another result.
Here…

Huyết Công Tử
- 155
- 1
- 10
1
vote
0 answers
Windows Forms Surface Pen Eraser Detection
I'm trying to detect whether the current mouse (pen) press on a surface pro pen was from the nib or the eraser. I realise this can be done relatively easy in WPF/ink, is there any way to detect this using standard win forms?

Rob
- 1,687
- 3
- 22
- 34
1
vote
1 answer
Drawing pen strokes using java swing...strokes don't show up
So I have two classes here:
PhotoComponent class:
(This class is to handle a specific image as a JComponent. When "flipped" I want to draw pen strokes instead of having an image. So I replace the image with a rectangle, attempting to draw pen…

dan139
- 47
- 6
1
vote
0 answers
Wacom tablet with SDL2
I would like to read pen events and touch events from a Wacom tablet, from which I need at least the position and pressure. I saw that there are touch events in SDL2, but no events are triggered in my application with the code below. I tested with a…

Joe
- 2,008
- 1
- 17
- 25
1
vote
1 answer
Need Help Removing Traces Left By Turtles In "pen-down" Mode
I created a turtle and added "pen-down" to see how the turtle traveled and once the turtle stopped, it was hard to spot its final location with all the traces. I need help removing traces left by turtles in "pen-down" mode in order to see the…

I Need Help
- 87
- 10
1
vote
2 answers
How do I change the color of the pen in c#?
I am trying to change the color of my pen and solid brush.
I hard coded them, but now I would like to know how to make only one pen and change the color to any color I want using a GUI (Drop down list, color palette, etc).
Here is my coded:
…

CharleBarkely123
- 39
- 2
- 6
1
vote
0 answers
Free hand draw on axes with high number of point per second
I am working on a handwriting recognition project using Matlab.
The first picture totally contains 450points because it was written slowly.
The second picture contains only 56points because it was written in a fast speed.
As we can see, when writing…

SKRUY
- 69
- 13
1
vote
1 answer
Converting From Brush/Pens To Color
I am making a paint program and the color of the PictureBox Graphics supports Brushes in FillShape and Pens in DrawShape.
If you have any solution please tell me how to convert Brush/Pens to Color? So I can also use ColorDialog for custom colors.

Sudhir Sundar
- 41
- 1
- 1
- 9
1
vote
1 answer
How to get pen pressure data from the samsung galaxy note pro stylus inside chrome?
Basicly in javascript in my html I want to be able to do something like this.
var penpressure = inputDevice.getPressure();
console.log(penpressure);
Ideally this would work for other kinds of pressure inputs as well, wacom on desktop machines…

rende
- 31
- 5