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.
On 24/06/2014 at 00:58, xxxxxxxx wrote:
I saw this thread the other day it`s python but might be useful - https://plugincafe.maxon.net/topic/6689/7294_getting-esc-key-input&KW=keypress&PID=30439#30439
On 24/06/2014 at 08:49, xxxxxxxx wrote:
Thank you very much, Eclectrick.
It worked great