怎样不让鼠标在form上出现(50分)

Z

zylsoft

Unregistered / Unconfirmed
GUEST, unregistred user!
怎样不让鼠标在form上出现?
(隐藏鼠标)
Form.width:=Screen.Width;
Form.Height:=Screen.Height;
 
The ShowCursor function displays or hides the cursor.
int ShowCursor(
BOOL bShow // cursor visibility flag
);

Parameters
bShow
Specifies whether the internal display counter is to be incremented or
decremented. If bShow is TRUE, the display count is incremented by one.
If bShow is FALSE, the display count is decremented by one.

Return Values
The return value specifies the new display counter.
 
cursor:=crnone;
 
在Form的mousemove里调用ShowCursor(false);
 
多人接受答案了。
 
顶部