get_key() with backspace
It was basically said:
I need to use get_key() to read a string. I want to delete a character on the sc
reen
if backspace (Key 8) is pressed.
Read carefully as this may help a lot of people,
Using DOS32, 14 when sent to the screen deletes the character before it.
I think it works like that with puts(), I can't check as my net connections via
a
mac, as you may have guessed. eg puts(1, 14) Otherwise the only thing you can do
is use position() to put a NULL over the character that was removed and move the
cursor back using position( ) again. It's annoying but it works.
I have no Idea about WIN32 as I don't have WIN4+.
---
Sincerely,
Mathew Hounsell
Mat.Hounsell at mailexcite.com
Free web-based email, Forever, From anywhere!
http://www.mailexcite.com
|
Not Categorized, Please Help
|
|