On 23/06/2014 at 06:33, xxxxxxxx wrote:
Cinema 4D Version: 14
Platform: Mac OSX ;
Language(s) : C++ ;
I have a process that can take a long time to process.
It is inside a Message method of a DescriptionToolData because it is activated by a button.
How can I detect that the Esc key was pressed inside this process? (the process involves two nested for-loops).
I was using:
Bool ESCAPE = GetInputState(BFM_INPUT_KEYBOARD, BFM_INPUT_CHANNEL, bck);
if (ESCAPE && bck.GetLong(BFM_INPUT_VALUE)==KEY_ESC) ...
But it is not working.