This post contains the code that you need to swap windows in HKN. Though from back in the day when I tried it out there is a little delay between swapping windows (say 0.5s). I have no idea how it does on todays hardware (and if it's even hardware related). I do know that ISboxer has instant window swapping.

http://www.dual-boxing.com/threads/1...982#post147982