如何定义鼠标左右两键同时按下的方法。
我在做挖雷游戏时碰到这样一个问题,delphi里面没有现成的鼠标左右两键同时按下
的方法。我尝试过用下面的方法,可是无效。望高手指点。
procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
if (button=mbleft) and (button=mbright) then
showmessage('ok');
end;