procedure TForm1.Timer1Timer(Sender: TObject);
var keystate:TKeyboardState;
begin
caption:='';
GetKeyboardState(keystate);
if keystate[vk_lbutton] and $80 <>0 then
caption:='lbutton down';
if keystate[vk_rbutton]<>0 then
caption:='Rbutton down';
end;
请问高手,上面这个程序中的$80指的是什么,在这里有什么作用呀,
这是一个
检测鼠标是否有按下,
And $80就是屏蔽高位