Click here to Skip to main content
15,896,547 members
Home / Discussions / C#
   

C#

 
AnswerRe: unknown problem is visual studio Pin
Colin Angus Mackay5-Nov-07 11:00
Colin Angus Mackay5-Nov-07 11:00 
GeneralRe: unknown problem is visual studio Pin
netJP12L6-Nov-07 3:56
netJP12L6-Nov-07 3:56 
GeneralRe: EventArgs Pin
half-life5-Nov-07 10:34
half-life5-Nov-07 10:34 
QuestionHash Encryption Pin
Eli Nurman5-Nov-07 9:15
Eli Nurman5-Nov-07 9:15 
AnswerRe: Hash Encryption Pin
led mike5-Nov-07 9:22
led mike5-Nov-07 9:22 
GeneralRe: Hash Encryption Pin
Anthony Mushrow5-Nov-07 12:25
professionalAnthony Mushrow5-Nov-07 12:25 
AnswerRe: Hash Encryption Pin
dino20945-Nov-07 9:42
dino20945-Nov-07 9:42 
QuestionTouchScreen And Mouse separate. [modified] Pin
anselmo5-Nov-07 9:06
anselmo5-Nov-07 9:06 
Hi everyone...
I'm working with some Touch-Kit Touch-Screens and Win-Driver under C#.
The main idea is to work with the Touch-Screen as the expanded Monitor (Secondary).
So a user can work with the PC on the primary screen and another on the secondary.
I built an On-Screen Keyboard and works great.
My problem now is to work with the mouse and the touch separately.
I want the user who is in the main screen to work with the mouse, but the user who is with the touchscreen just touching the screen.
Everything works fine until I tried to touch a menu of an application (eg. File menu on Ultra-Edit).

Which is the way to Send/Post a message to the Target App on (X,Y) Screen position.
I'm doing the following.

My app captures the USB port and reads the Touch-Screen's IN pipe. Calculates the Screen Point with the calibration data and starts the messaging.

- Basically the steps are sum-up to:

1- Capture the hWnd from point (x, y). hWnd = WindowFromPoint( p );
2- ScreenToClient( hWnd, ref p );
3- PostMessge( hWnd, WM_LBUTTONDOWN, MK_LBUTTON, MAKELONG( p ) );
4- PostMessge( hWnd, WM_LBUTTONUP, 0, MAKELONG( p ) );

The reason I'm using PostMessage instead of SendMessage is because, when an application, after touching the screen shows a message box, my app is halted until the message box disapears.

Hope to be clear about what I'm looking to do!
Thanks a lot everyone!

Guillermo L. Odone
QuestionQuery based on GUID in Access DB Pin
Christian Graus5-Nov-07 8:58
protectorChristian Graus5-Nov-07 8:58 
AnswerRe: Query based on GUID in Access DB Pin
pmarfleet5-Nov-07 9:51
pmarfleet5-Nov-07 9:51 
GeneralRe: Query based on GUID in Access DB [modified] Pin
Christian Graus5-Nov-07 9:59
protectorChristian Graus5-Nov-07 9:59 
GeneralRe: Query based on GUID in Access DB Pin
pmarfleet5-Nov-07 10:16
pmarfleet5-Nov-07 10:16 
GeneralRe: Query based on GUID in Access DB Pin
Christian Graus5-Nov-07 10:31
protectorChristian Graus5-Nov-07 10:31 
AnswerRe: Query based on GUID in Access DB Pin
PIEBALDconsult5-Nov-07 16:10
mvePIEBALDconsult5-Nov-07 16:10 
AnswerRe: Base Conversion Pin
Christian Graus5-Nov-07 8:56
protectorChristian Graus5-Nov-07 8:56 
GeneralRe: Base Conversion Pin
YNick5-Nov-07 11:51
YNick5-Nov-07 11:51 
GeneralRe: Base Conversion Pin
Colin Angus Mackay5-Nov-07 13:40
Colin Angus Mackay5-Nov-07 13:40 
GeneralRe: Base Conversion [modified] Pin
Colin Angus Mackay5-Nov-07 13:38
Colin Angus Mackay5-Nov-07 13:38 
GeneralRe: Base Conversion Pin
YNick5-Nov-07 15:51
YNick5-Nov-07 15:51 
GeneralRe: Base Conversion Pin
PIEBALDconsult5-Nov-07 16:13
mvePIEBALDconsult5-Nov-07 16:13 
GeneralRe: Base Conversion Pin
Colin Angus Mackay5-Nov-07 22:40
Colin Angus Mackay5-Nov-07 22:40 
GeneralRe: Base Conversion Pin
YNick6-Nov-07 6:27
YNick6-Nov-07 6:27 
GeneralRe: Base Conversion Pin
Colin Angus Mackay6-Nov-07 6:50
Colin Angus Mackay6-Nov-07 6:50 
GeneralRe: Base Conversion [modified] Pin
YNick6-Nov-07 7:28
YNick6-Nov-07 7:28 
GeneralRe: Base Conversion Pin
Colin Angus Mackay6-Nov-07 9:03
Colin Angus Mackay6-Nov-07 9:03 

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.