Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Cfile write problem Pin
led mike14-Jul-08 11:16
led mike14-Jul-08 11:16 
GeneralRe: Cfile write problem Pin
aei_totten14-Jul-08 8:37
aei_totten14-Jul-08 8:37 
QuestionRe: Cfile write problem Pin
aei_totten14-Jul-08 9:27
aei_totten14-Jul-08 9:27 
GeneralRe: Cfile write problem Pin
aei_totten14-Jul-08 9:29
aei_totten14-Jul-08 9:29 
AnswerRe: Cfile write problem Pin
Mark Salsbery14-Jul-08 9:52
Mark Salsbery14-Jul-08 9:52 
GeneralRe: Cfile write problem Pin
aei_totten14-Jul-08 10:30
aei_totten14-Jul-08 10:30 
GeneralRe: Cfile write problem Pin
led mike14-Jul-08 11:11
led mike14-Jul-08 11:11 
QuestionHelp PenTable (Diy) Pressure data. Pin
motivinteractive14-Jul-08 6:58
motivinteractive14-Jul-08 6:58 
Hello everyone!

I have built a digital table with a pencil (like a wacom) and I'm doing my own drivers.
He managed to move the mouse through the following simple code [Visual C + + in XP]:

// press detected
INPUT aInput;
aInput.type = INPUT_MOUSE;
aInput.mi.dwFlags = MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE;
aInput.mi.dwExtraInfo = 0;
aInput.mi.mouseData = 0;
aInput.mi.time = 0;
aInput.mi.dx = (data.X * 65535.0f);
aInput.mi.dy = (data.Y * 65535.0f);
int aResult = SendInput(1, &aInput, sizeof(INPUT) );


But, I do not see how you can send to the system/software (Photoshop, paint ,...) data with the pressure of the pen to draw. I suppose that will be a standar, but nothing found information about it.

Someone known as is done? That object is used?

Thanks!!
AnswerRe: Help PenTable (Diy) Pressure data. Pin
led mike14-Jul-08 8:55
led mike14-Jul-08 8:55 
QuestionMouse events for Bitmapbutton Pin
bhanu_850914-Jul-08 5:10
bhanu_850914-Jul-08 5:10 
AnswerRe: Mouse events for Bitmapbutton Pin
led mike14-Jul-08 5:35
led mike14-Jul-08 5:35 
QuestionRe: Mouse events for Bitmapbutton Pin
bhanu_850914-Jul-08 20:27
bhanu_850914-Jul-08 20:27 
AnswerRe: Mouse events for Bitmapbutton Pin
bhanu_850914-Jul-08 23:59
bhanu_850914-Jul-08 23:59 
Questiontimer in MFC application Pin
ashishmax4714-Jul-08 2:01
ashishmax4714-Jul-08 2:01 
AnswerRe: timer in MFC application Pin
sudhir_Kumar14-Jul-08 2:09
sudhir_Kumar14-Jul-08 2:09 
AnswerRe: timer in MFC application Pin
CPallini14-Jul-08 2:10
mveCPallini14-Jul-08 2:10 
GeneralRe: timer in MFC application Pin
Mark Salsbery14-Jul-08 5:58
Mark Salsbery14-Jul-08 5:58 
GeneralRe: timer in MFC application Pin
CPallini14-Jul-08 8:27
mveCPallini14-Jul-08 8:27 
GeneralRe: timer in MFC application Pin
ThatsAlok15-Jul-08 3:46
ThatsAlok15-Jul-08 3:46 
AnswerRe: timer in MFC application Pin
Atropus14-Jul-08 2:19
Atropus14-Jul-08 2:19 
AnswerRe: timer in MFC application Pin
_AnsHUMAN_ 14-Jul-08 2:22
_AnsHUMAN_ 14-Jul-08 2:22 
GeneralRe: timer in MFC application PinPopular
CPallini14-Jul-08 2:27
mveCPallini14-Jul-08 2:27 
GeneralRe: timer in MFC application Pin
_AnsHUMAN_ 14-Jul-08 3:02
_AnsHUMAN_ 14-Jul-08 3:02 
GeneralRe: timer in MFC application Pin
CPallini14-Jul-08 8:25
mveCPallini14-Jul-08 8:25 
GeneralRe: timer in MFC application Pin
ThatsAlok15-Jul-08 3:53
ThatsAlok15-Jul-08 3:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.