![]() |
xtd - Reference Guide
0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
Provides data for the console::cancel_key_press event. This class cannot be inherited. More...
#include <console_cancel_event_args.h>
Public Member Functions | |
console_cancel_event_args ()=default | |
Initializes a new instance of the console_cancel_event_args class. More... | |
console_cancel_event_args (bool cancel, console_special_key special_key) | |
Initializes a new instance of the console_cancel_event_args class. More... | |
bool | cancel () const |
Gets a value that indicates whether simultaneously pressing the Control modifier key and the C console key (Ctrl+C) or the Ctrl+Break keys terminates the current process. The default is false, which terminates the current process. More... | |
void | cancel (bool cancel) |
Sets a value that indicates whether simultaneously pressing the Control modifier key and the C console key (Ctrl+C) or the Ctrl+Break keys terminates the current process. The default is false, which terminates the current process. More... | |
console_special_key | special_key () const |
Gets the combination of modifier and console keys that interrupted the current process. More... | |
Static Public Attributes | |
static const event_args | empty |
Provides a value to use with events that do not have event data. More... | |
Provides data for the console::cancel_key_press event. This class cannot be inherited.