LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The dwFlags input for simulating a right click?

Solved!
Go to solution
I'm attempting to simulate a right click in a program outside of labview. Simulating a left click is easy using 2 & 4 for the dwFlags input in Call Library. I was wondering if anyone knew the input for generating a right click?
0 Kudos
Message 1 of 4
(2,462 Views)
Solution
Accepted by topic author gwalker2209
I have a faint recollection that it is 0x8 and 0x10 (8 and 16 in decimal).  Not absolutely certain.
0 Kudos
Message 2 of 4
(2,449 Views)

Simulating a mouse click comes up a LOT. Did you try a search? Or MSDN, which actually documents the WinAPI?

 

See here for an example VI.

Message Edited by smercurio_fc on 08-10-2009 01:20 PM
0 Kudos
Message 3 of 4
(2,445 Views)
Thanks Darin that worked perfectly
0 Kudos
Message 4 of 4
(2,426 Views)