free Pascal如何用文件制作面板?
pascal吧
全部回复
仅看楼主
level 1
Kyoya弥XL7 楼主
就是可以用鼠标操作,可以不用键盘。
2014年02月22日 02点02分 1
level 13
要那样做,就别用pascal 了。虽然是可以实现鼠标操作的,但建议用VB或VC++。如果真要用pascal ,那么去网上找资料自学吧。
2014年02月22日 04点02分 2
level 1
orz 还没有大神来解答么 >.<
2014年02月22日 08点02分 3
level 12
2014年02月22日 08点02分 4
level 12
用delphi吧
2014年02月22日 14点02分 5
level 9
Uses
{$ifdef Win32}
WinCrt,Windows,
{$else}
Crt,
{$endif}
Dos,Graph,;
{$ifdef Win32Graph}
WinMouse,
{$undef MouseApi}
{$else}
{$IFDEF MouseAPI}
Mouse,
{$ELSE}
MSMouse,
{$ENDIF}
{$endif}
2014年02月22日 20点02分 6
level 6
源码?
2014年03月01日 13点03分 7
是像fpIDE那样的?
2014年03月01日 13点03分
level 9
楼主在么?
uses winmouse;
var
...
x,y,but:longint;
...
begin
...
getmousestate(x,y,but);
...
end.
{用过getmousestate(x,y,but);这句以后,x,y变量的值就分别变成了鼠标在屏幕中的x,y位置}
{用过getmousestate(x,y,but);这句以后,but变量的值就变成了鼠标的点击信息,1=左键单击,2=右键单击,4=中间键单击……}
纯手打,如有不对请指出。
注意要uses winmouse;
如要源代码示例请回复。
2014年03月15日 13点03分 8
1