SRL Archive - Help

SetTargetDC


blackfire553

2011-06-14 20:41:49

I always see SetTargetDC(SmartGetDC) in scripts, but i do not understand what it does. I could not find it in the documentation or the google.

Smartzkid

2011-06-14 21:08:10

It sets the device context that Simba/Scar's graphical functions look at.

blackfire553

2011-06-14 23:54:45

When i use this function Simba gives me the error:
[Error] (162:3): Unknown identifier 'SetTargetDC' at line 161

Markus

2011-06-15 13:22:59

It's a SCAR only function, Simba got something different for settings targets (check out setupsrl, but I'm not completely sure how it works).