发表于:2005-09-29 11:48:00
1楼
可以参照以下例子来调用:
捕捉鼠标、键盘实现画面返回
BOOL GetMousePoint()
{
#pragram code("user32.dll");
BOOL GetCursorpos(LPPOINT lppoint);
#pragma code();
POINT point;
static int x, y;
GetCursorPos(&point);
if(x!=point.x||y!=point.y)
{
x=point.x;
y=point.y;
return FALSE;
}
else
return TRUE;
}