I'm pretty sure both of those have implementations available for DOS already.
https://en.m.wikipedia.org/wiki/DESQview