SRL Archive - Help and Support

SetTargetBitmap, how to set it back to client?


n3ss3s

2007-09-04 11:28:58

As the title says…

I want to use SetTargetBitmap because I dont wanna have to do huge FastGetPixels there…

Thanks.

Boreas

2007-09-04 11:32:54

client:= GetClientWindowHandle;
SetTargetBitmap(mmbmp);
//tmpbool:=FindSymbolIn(tx,ty,'bank',0,0,mmx2-mmx1,mmy2-mmy1);
tmpbool:=FindSymbol(tx,ty,'bank');

SetClientWindowHandle(client);

n3ss3s

2007-09-04 11:43:56

Thanks =)

Sumilion, you got another way? (I can see you're viewing)

Killerdou

2007-09-04 11:45:39

resetdc:)

ow and try f1 for heavens sake:)

n3ss3s

2007-09-04 11:48:07

=) I checked manual, I always have it open, but I didnt understand everything about the DC things… But anyways, ok, resetdc…

Sorry boreas, but thats easier :)

SKy Scripter

2007-09-04 12:02:06

or…. SetTargetbitmap(bmp)
…
.. Then you can just..
if FindRS then ActivateClient;