This help?

https://stackoverflow.com/questions/...cursor-using-c