You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
739 B

  1. using System;
  2. namespace Apewer.Internals.Interop
  3. {
  4. [Flags]
  5. enum MouseCallbackFlag : uint // 设置鼠标动作的键值
  6. {
  7. Move = 0x0001, // 发生移动
  8. LeftDown = 0x0002, // 鼠标按下左键
  9. LeftUp = 0x0004, // 鼠标松开左键
  10. RightDown = 0x0008, // 鼠标按下右键
  11. RightUp = 0x0010, // 鼠标松开右键
  12. MiddleDown = 0x0020, // 鼠标按下中键
  13. MiddleUp = 0x0040, // 鼠标松开中键
  14. XDown = 0x0080,
  15. XUp = 0x0100,
  16. Wheel = 0x0800, // 鼠标轮被移动
  17. VirtualDesk = 0x4000, // 虚拟桌面
  18. Absolute = 0x8000
  19. }
  20. }