会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
静观其变
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
取得鼠标位置
using
System.Runtime.InteropServices;
[System.Runtime.InteropServices.DllImport(
"
user32.dll
"
, EntryPoint
=
"
GetCursorPos
"
)]
public
extern
static
int
GetCursorPos(
ref
POINTAPI lpPoint );
public
struct
POINTAPI
{
public
int
x;
public
int
y;
}
POINTAPI _POINTAPI
=
new
POINTAPI();
GetCursorPos (
ref
_POINTAPI );
posted on
2005-07-21 09:28
wangyue
阅读(
972
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部