请教几个简单问题!!
var screenx :trect;
begin
screenx:=rect(0,0,screen.width,screen.height);
clipcursor(@screenx);
end;
问题:
1.trect是什么意思?
2.rect(0,0,screen.width,screen.height)是什么意思?
3.clipcursor(@screenx)是什么意思?@代表什么?
var desktop :thandle;
taskbar :hwnd;
begin
desktop:=findwindows('progman',nil);
taskbar:=findwindows('shell_traywnd',nil);
end;
问题:
1.什么是句柄?thandle和hwnd是什么意思,有什么区别?
2.在API函数findwindows中,nil代表什么意思?
var formx :trect;
begin
formx:=form1.boundsrect;
mapwindowpoints(0,0,formx,2);
clipcursor(@formx);
end;
问题:
1.form1.boundsrect是什么意思?
2.函数mapwindowpoints是什么意思?参数都有什么含义?