摘要: 利用api 函数 ClipCursor和GetWindowRect可以实现限定鼠标移动范围的功能。 [System.Runtime.InteropServices.DllImport("user32", EntryPoint = "ClipCursor")] public extern static int ClipCursor(ref RECT lpRect); ... 阅读全文
posted @ 2008-04-23 10:13 凡的世界 阅读(2186) 评论(0) 推荐(0)