I have found this script made by lexikos:
http://p.ahkscript.org/?p=3acf77
(http://www.autohotke...angle/?p=186305)
can anybody to rewrite it to work in C++? I do not need complete application (I have one) but just the functions to start and end drawing. So I could install it. I am C/C++ newbie, using Visual Studio 2010.