Catching ESCAPE key on Selection Cancel
#1

Hello again, is it possible to catch Escape key, which forces SelectObject to hide crusor?
I know that it's possible to catch this key, with selection TDs, but didn't found anything about SelectObject, thanks.
Reply
#2

There is no reliable way unfortunately.

But unlike SelectTextDraw, SelectObject does not reset the cursor to the center when called while selecting. Also keys can still be detected while selecting.
This means, that you could continously force the player into selection (use a timer), and tell him to use another key (for example F) to exit selection. Kinda replacement for ESC key.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)