孤
孤云
Unregistered / Unconfirmed
GUEST, unregistred user!
调用VISSIM COM //VISSIM 软件
GetWindow ([out] VARIANT *Top, [out] VARIANT *Left, [out] VARIANT *Bottom, [out] VARIANT *Right)
在Delphi中调用GetWindow函数
VISSIM.GetWindow();
括号提示:
(TopleVariant;LeftleVariant;BottomleVariant,RightleVariant)
我想获取GetWindow()的Top,Left,Bouttom,Right的值,然后对这些值进行运算
算完在设置VISSIM.SetWindow();
procedure ok();
var
Top,Left,Bouttom,Right:oleVariant;
begin
VISSIM.GetWindow(Top,Left,Bouttom,Right);
//请问我怎么对得到的Top,Left,Bouttom,Right进行运算,谢谢!
VISSIM.SetWindow(Top,Left,Bouttom,Right);
end;
GetWindow ([out] VARIANT *Top, [out] VARIANT *Left, [out] VARIANT *Bottom, [out] VARIANT *Right)
在Delphi中调用GetWindow函数
VISSIM.GetWindow();
括号提示:
(TopleVariant;LeftleVariant;BottomleVariant,RightleVariant)
我想获取GetWindow()的Top,Left,Bouttom,Right的值,然后对这些值进行运算
算完在设置VISSIM.SetWindow();
procedure ok();
var
Top,Left,Bouttom,Right:oleVariant;
begin
VISSIM.GetWindow(Top,Left,Bouttom,Right);
//请问我怎么对得到的Top,Left,Bouttom,Right进行运算,谢谢!
VISSIM.SetWindow(Top,Left,Bouttom,Right);
end;