setcapture函数无法使用--急救!! 我想在delphi 6.0中使用setcapture函数,但是无法使用,我的OS是WIN2000,请问各位高手如何才能使用这个函数。谢谢!!!!!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 怎么可能无法使用,我也是Delphi6,用的上好 这是我的一段程序:procedure TForm1.RadioButton1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); var mouseEnter: boolean; begin mouseEnter:=(0<=x) and (x< radiobutton1.Width-0) and (0<y) and (y< radiobutton1.Height-0); if mouseEnter then begin radiobutton1.Color := rgb(0,255,255); setcaptuer(handle); end else begin radiobutton1.Color := clSkyBlue; releasecaptuer; end;end;-----------------------------------------目的是当我将鼠标移到RadioButton1控件上面时控件变色,我想用setcapture和releasecapture这两个函数获取鼠标信息,但是报错:[Error] Unit1.pas(117): Undeclared identifier: 'setcaptuer'[Error] Unit1.pas(122): Undeclared identifier: 'releasecaptuer' 补充一点,在Uses里面包含这些库:uses:Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, ExtCtrls, jpeg, StdCtrls, Mask, Buttons, ComCtrls, Grids; ?报错的代码,是你自己写的还是copy过来的?setcapture还是setcaptuer? Delphi 辅助工具 CodeRush 程序代码 结构增强显示工具 ClientDataSet查询提示'0.0' is not a valid timestamp 怎么样写一个让Java可以调用的DLL 怎么获取硬盘及主板的序列号? 小小,DCOM的配置 Application問題 TextOut如何加上或去除其文字的背景色? 兄弟们,帮帮忙!遇到点麻烦(在线) BOF或EOF中有一个为真,或者当前记录已被删除,所需操作需要一个当前记录 关于TrackBar控件的问题 如何控制打印预览(用的是quickreport)中的close 按钮事件?? 調用DLL問 題
procedure TForm1.RadioButton1MouseMove(Sender: TObject; Shift: TShiftState;
X, Y: Integer);
var
mouseEnter: boolean;
begin
mouseEnter:=(0<=x) and (x< radiobutton1.Width-0) and (0<y) and (y< radiobutton1.Height-0);
if mouseEnter then
begin
radiobutton1.Color := rgb(0,255,255);
setcaptuer(handle);
end
else
begin
radiobutton1.Color := clSkyBlue;
releasecaptuer;
end;
end;
-----------------------------------------
目的是当我将鼠标移到RadioButton1控件上面时控件变色,我想用setcapture和releasecapture这两个函数获取鼠标信息,但是报错:
[Error] Unit1.pas(117): Undeclared identifier: 'setcaptuer'
[Error] Unit1.pas(122): Undeclared identifier: 'releasecaptuer'
uses:
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, ExtCtrls, jpeg, StdCtrls, Mask, Buttons, ComCtrls, Grids;
报错的代码,是你自己写的还是copy过来的?
setcapture还是setcaptuer?