Click here to Skip to main content
15,893,401 members
Home / Discussions / C#
   

C#

 
GeneralRe: Help with User Validation Pin
led mike29-Jan-08 6:38
led mike29-Jan-08 6:38 
QuestionSimulating SHIFT+MOUSE_RIGHT_CLICK ? Pin
Mike Curry - Canada29-Jan-08 5:09
Mike Curry - Canada29-Jan-08 5:09 
GeneralRe: Simulating SHIFT+MOUSE_RIGHT_CLICK ? Pin
Mike Ellison29-Jan-08 5:43
Mike Ellison29-Jan-08 5:43 
GeneralRe: Simulating SHIFT+MOUSE_RIGHT_CLICK ? Pin
Bekjong29-Jan-08 6:35
Bekjong29-Jan-08 6:35 
AnswerRe: Simulating SHIFT+MOUSE_RIGHT_CLICK ? Pin
Spacix One29-Jan-08 6:39
Spacix One29-Jan-08 6:39 
GeneralRe: Simulating SHIFT+MOUSE_RIGHT_CLICK ? Pin
Skippums29-Jan-08 7:56
Skippums29-Jan-08 7:56 
GeneralRe: Simulating SHIFT+MOUSE_RIGHT_CLICK ? Pin
Mike Curry - Canada29-Jan-08 9:55
Mike Curry - Canada29-Jan-08 9:55 
GeneralRe: Simulating SHIFT+MOUSE_RIGHT_CLICK ? Pin
Skippums29-Jan-08 10:36
Skippums29-Jan-08 10:36 
What happens if you just send the SHIFT key (0x10)? I also wonder if, since you are sending a specific shift key, if you have to set bit 24 on the lparam sent with SendMessage. In the past I have also had instances when I had to use PostMessage for an application to receive the keystroke. If I were you I would go through the following progression:

1. Try using SendMessage (up + down) for something simple (like an 'a' 0x41).
2. Try using PostMessage (up + down) for something simple
3. Try using keybd_event (up + down) for something simple
If none of the above messages were received by your target application (and the last win32 error is not from your calls to the methods), then post your results so I can help some more. Otherwise, continue using the message type (Send, Post, or event) that worked from steps 1-3:
4. Modify your messages to send the Shift key (if it doesn't work, try sending the left or right specific shift keys; if you still get nothing, use Spy++ to see EXACTLY what each parameter is being set to, and mimick exactly those params)

After you complete these steps, you should be able to get your code working. Here is a reference for WM_KEYDOWN[^] if you need it. Let me know if this helps,

Sounds like somebody's got a case of the Mondays

-Jeff

GeneralRe: Simulating SHIFT+MOUSE_RIGHT_CLICK ? Pin
led mike29-Jan-08 11:02
led mike29-Jan-08 11:02 
QuestionORM and Obfuscation Pin
gentyjp29-Jan-08 4:10
gentyjp29-Jan-08 4:10 
GeneralRe: ORM and Obfuscation Pin
Mark Churchill29-Jan-08 18:12
Mark Churchill29-Jan-08 18:12 
Questionhow to display MsWord document in my app ? Pin
hdv21229-Jan-08 4:00
hdv21229-Jan-08 4:00 
AnswerRe: how to display MsWord document in my app ? Pin
Mike Ellison29-Jan-08 5:48
Mike Ellison29-Jan-08 5:48 
GeneralConnect to a printer with a C# service Pin
chrpet29-Jan-08 3:55
chrpet29-Jan-08 3:55 
GeneralRe: Connect to a printer with a C# service Pin
chrpet13-Feb-08 21:53
chrpet13-Feb-08 21:53 
Generalpdf library support unicode Pin
sepel29-Jan-08 3:10
sepel29-Jan-08 3:10 
GeneralRe: pdf library support unicode Pin
Justin Perez29-Jan-08 3:26
Justin Perez29-Jan-08 3:26 
GeneralRe: pdf library support unicode Pin
sepel29-Jan-08 3:53
sepel29-Jan-08 3:53 
GeneralRe: pdf library support unicode Pin
Justin Perez29-Jan-08 3:54
Justin Perez29-Jan-08 3:54 
GeneralRe: pdf library support unicode Pin
sepel29-Jan-08 4:17
sepel29-Jan-08 4:17 
GeneralRe: pdf library support unicode Pin
Vasudevan Deepak Kumar29-Jan-08 4:20
Vasudevan Deepak Kumar29-Jan-08 4:20 
GeneralRe: pdf library support unicode Pin
leppie29-Jan-08 3:56
leppie29-Jan-08 3:56 
GeneralRe: pdf library support unicode Pin
Justin Perez29-Jan-08 4:10
Justin Perez29-Jan-08 4:10 
GeneralRe: pdf library support unicode Pin
sepel29-Jan-08 4:19
sepel29-Jan-08 4:19 
GeneralBackUp DataBase Pin
Thaer Hamael29-Jan-08 1:26
Thaer Hamael29-Jan-08 1:26 

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.