Contains application native API.
- Namespace
- xtd::forms::native
- Library
- xtd.forms.native
- Warning
- Internal use only
|
static bool | allow_quit () |
| Gets a value indicating whether the caller can quit this application.
|
|
static void | cleanup () |
| Cleanup all data, handles, references, ... initialized by initialize() before quit.
|
|
static void | do_events () |
| Processes all Windows messages currently in the message queue.
|
|
static void | do_idle () |
| Processes do idle event.
|
|
static bool | dark_mode_enabled () |
| Return true if dark mode is enabled for the application; otherwise return false.
|
|
static void | enable_button_images (bool value) |
| Enables button images for the application.
|
|
static void | enable_dark_mode (bool value) |
| Enables dark mode for the application.
|
|
static void | enable_font_size_correction (bool value) |
| Disable font size correction for the application.
|
|
static void | enable_light_mode (bool value) |
| Enables light mode for the application.
|
|
static void | enable_menu_images (bool value) |
| Enables menu images for the application.
|
|
static void | enable_system_font_size (bool value) |
| Enables system font size for the application.
|
|
static void | enable_visual_style (bool value) |
| Enables visual styles for the application.
|
|
static void | exit () |
| Exits application.
|
|
static void | initialize () |
| Initialize all data, handles, references, ... needed by toolkits.
|
|
static void | register_message_filter (const delegate< bool(intptr, int32, intptr, intptr, intptr)> &message_filter) |
| Register a specified message filter from the message pump of the application.
|
|
static void | register_thread_exception (const delegate< bool()> &thread_exception) |
| Register a specified thread_exception from the message pump of the application.
|
|
static void | register_wnd_proc (const delegate< intptr(intptr, int32, intptr, intptr, intptr)> &wnd_proc) |
| Register a specified wnd proc from the message pump of the application.
|
|
static void | restart (bool exit_after_restart) |
| Shuts down the application and starts a new instance immediately.
|
|
static void | run () |
| Begins running a standard application message loop on the current thread.
|
|
static void | use_wait_cursor (bool use_wait_cursor) |
| Sets whether the wait cursor is used for all open forms of the application.
|
|