Desktop Functions: Smart Device Functions:
|
mouse_event (user32)
C# Signature:
[DllImport("user32.dll")] [DllImport("user32.dll")]
static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, int dwExtraInfo); User-Defined Types:
[Flags] Notes:None. Tips & Tricks:Please add some! Sample Code:[DllImport("user32.dll")] static extern bool SetCursorPos(int X, int Y); [DllImport("user32.dll")] static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, int dwExtraInfo);
[Flags] ... //Set cursor position SetCursorPos(10, 50); //Mouse Right Down and Mouse Right Up mouse_event((uint)MouseEventFlags.RIGHTDOWN,0,0,0,0); mouse_event((uint)MouseEventFlags.RIGHTUP,0,0,0,0); Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|