Back to what cairnswm said, I tried to experiment with the lock/unlock funtions (that's supposed to be used with pixel manipulation), but I can't Lock function work properly... any help?

I've tried:

[pascal]
with DXImageList.Items[0].PatternSurfaces[0] do begin

Lock(ClientRect,SurfaceDesc);

end;
[/pascal]


The following error occurs:

"Constant object cannot be passed as var paremeter"

Hope anybody can help.

Regards,
Floken