Contains font dialog native API.
- Namespace
- xtd::forms::native
- Library
- xtd.forms.native
- Warning
- Internal use only
|
static bool | run_dialog (intptr hwnd, drawing::font &font, drawing::color &color, size_t options, size_t min_size, size_t max_size, bool show_color) |
| Shows dialog.
|
|
static void | run_sheet (xtd::delegate< void(bool)> on_dialog_closed, intptr hwnd, drawing::font &font, drawing::color &color, size_t options, size_t min_size, size_t max_size, bool show_color) |
| Shows async dialog as sheet.
|
|
◆ run_dialog()
static bool xtd::forms::native::font_dialog::run_dialog |
( |
intptr |
hwnd, |
|
|
drawing::font & |
font, |
|
|
drawing::color & |
color, |
|
|
size_t |
options, |
|
|
size_t |
min_size, |
|
|
size_t |
max_size, |
|
|
bool |
show_color |
|
) |
| |
|
staticprotected |
Shows dialog.
- Parameters
-
hwnd | Parent window handle. |
font | The selected font. |
color | The selected color. |
min_size | The minimum point size a user can select. |
max_size | The maximum point size a user can select. |
show_color | true if the dialog box displays the color choice; otherwise, false. |
- Returns
- true if the user clicks OK in the dialog box; otherwise, false.
- Warning
- Internal use only
◆ run_sheet()
static void xtd::forms::native::font_dialog::run_sheet |
( |
xtd::delegate< void(bool)> |
on_dialog_closed, |
|
|
intptr |
hwnd, |
|
|
drawing::font & |
font, |
|
|
drawing::color & |
color, |
|
|
size_t |
options, |
|
|
size_t |
min_size, |
|
|
size_t |
max_size, |
|
|
bool |
show_color |
|
) |
| |
|
staticprotected |
Shows async dialog as sheet.
- Parameters
-
hwnd | Parent window handle. |
font | The selected font. |
color | The selected color. |
min_size | The minimum point size a user can select. |
max_size | The maximum point size a user can select. |
show_color | true if the dialog box displays the color choice; otherwise, false. |
- Returns
- true if the user clicks OK in the dialog box; otherwise, false.
- Warning
- Internal use only
The documentation for this class was generated from the following file: