var
P: tpoint;
h: thandle;
getCursorpos(p);
h:= windowFromPoint(p);
if h= wincontrol.handle then
showmessage('在某一控键上');
判断鼠标是否在窗体
最新推荐文章于 2016-09-13 10:57:51 发布
var
P: tpoint;
h: thandle;
getCursorpos(p);
h:= windowFromPoint(p);
if h= wincontrol.handle then
showmessage('在某一控键上');