How to simulate mouse wheel scrolling in C#  
Author Message
Canuck1





PostPosted: Visual C# Language, How to simulate mouse wheel scrolling in C# Top

I'm trying to simulate mouse wheel movement when a button on the gamepad is pressed. So far I've imported the mouse_event() function from user32.dll, but I don't know the value of the MOUSEEVENTF_WHEEL flag. If anyone can help I'd greatly appreciate it.

Visual C#2  
 
 
ahmedilyas





PostPosted: Visual C# Language, How to simulate mouse wheel scrolling in C# Top

looking at some resources...

MIDDLEDOWN = 0x20, /*middle button down */
MIDDLEUP = 0x40, /* middle button up */
WHEEL = 0x800, /*wheel button rolled */



 
 
Canuck1





PostPosted: Visual C# Language, How to simulate mouse wheel scrolling in C# Top

Thanks! That does it.