void EyeXHost::TriggerActivation() { TX_HANDLE command(TX_EMPTY_HANDLE); txCreateActionCommand(_context, &command, TX_ACTIONTYPE_ACTIVATE); txExecuteCommandAsync(command, NULL, NULL); txReleaseObject(&command); }
void EyeXGaze::TriggerActivation() { TX_HANDLE command(TX_EMPTY_HANDLE); // set command in context as click activation button. txCreateActionCommand(_hContext, &command, TX_ACTIONTYPE_ACTIVATE); //execute command txExecuteCommandAsync(command, NULL, NULL); txReleaseObject(&command); }