On Sunday, 17 January 2016 18:05:35 UTC+13,
lex2...@gmail.com wrote:
> I'm wanting to use the windows API to move a canvas in an visual object,
> I'm using Delphi but that should not be confusing but my wordage may be incorrect
> I believe I need to be using SetWindowExtEx(Handle, X, Y, Nil);
> SetViewPortOrgEx(Handle, 0, 0, Nil); and SetWindowOrgEx(Handle, NewX, NewY, Nil);
I have a canvas x = 1500 Y= 1500 with my object size x = 500 y = 500 all in pixels. I want to start my canvas displaying with topleft corner fully displayed in my object. Can some one show a little code or something please.