Ezbe #1 Lol, I actually had the "GetActiveWindow" in user32.decls, but the function name in blitz was HasFocus()... =P The code runs fine. Is this really it... the answer to our prayers? Shader-support for Blitz? =))