I have a plugin command which creates a modal dialog box (TCC doesn't return to the prompt). It's mostly idle but occasionally will write to the console with Printf(), run a batch file with Command(), or do a CLS. When a batch file is running mouse works fine. I can click on an "Abort" button, the plugin generates a CTRL_C_EVENT, the batch file is cancelled, and the dialog returns to its idle state. Under the same conditions, I can <Tab> to the "Abort" button (at a low level, TCC never sees it) but once there, <Enter> won't work. This is regardless of whether the dialog box was started in TCC's main thread or in a separate thread created by the plugin command. Rex, in this second case, do you know why the button control, apparently with focus, doesn't get the <Enter>?