parent
784d0b6a8a
commit
bf7bc4c1aa
|
|
@ -8,9 +8,8 @@ interface
|
||||||
|
|
||||||
**}
|
**}
|
||||||
function getsenderdatabyid();
|
function getsenderdatabyid();
|
||||||
function gettslvariableptr(obj);
|
|
||||||
function getctypesize();
|
function getctypesize();
|
||||||
type aefclassobj_=class
|
type aefclassobj_=class()
|
||||||
{**
|
{**
|
||||||
@nickname(内存管理对象) %%
|
@nickname(内存管理对象) %%
|
||||||
@explan(说明)内存操作底层接口伪类 %%
|
@explan(说明)内存操作底层接口伪类 %%
|
||||||
|
|
@ -150,14 +149,6 @@ type aefclassobj_=class
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
Implementation
|
Implementation
|
||||||
function gettslvariableptr(obj);
|
|
||||||
begin
|
|
||||||
{**
|
|
||||||
@explan(说明) 获取变量的地址,在send消息使用 %%
|
|
||||||
@param(obj)(obj) tsl变量 %%
|
|
||||||
@return(integer) 变量地址 %%
|
|
||||||
**}
|
|
||||||
end
|
|
||||||
function getctypesize();
|
function getctypesize();
|
||||||
begin
|
begin
|
||||||
{**
|
{**
|
||||||
|
|
|
||||||
|
|
@ -1845,11 +1845,7 @@ type TWinControl = class(tcontrol)
|
||||||
y := p.y;
|
y := p.y;
|
||||||
sx := p.width;
|
sx := p.width;
|
||||||
sy := p.height;
|
sy := p.height;
|
||||||
try
|
selfid := integer(self(true));//int64
|
||||||
selfid := int64(self(true));
|
|
||||||
except
|
|
||||||
selfid := gettslvariableptr(self(true));
|
|
||||||
end;
|
|
||||||
saveobj := new TGlobalValues(selfid,self(true));
|
saveobj := new TGlobalValues(selfid,self(true));
|
||||||
createwndclass(p);
|
createwndclass(p);
|
||||||
FDefWndproc := p.subclasswndproc;
|
FDefWndproc := p.subclasswndproc;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue