Contains find dialog native API.
- Namespace
- xtd::forms::native
- Library
- xtd.forms.native
- Warning
- Internal use only
|
static intptr | create (intptr hwnd, const std::optional< xtd::drawing::point > &location, const xtd::string &title, const xtd::string &find_string, bool show_up_down, bool show_whole_word, bool show_match_case, bool downwards, bool whole_word, bool match_case, xtd::delegate< void(const xtd::drawing::point &, const xtd::string &, bool, bool, bool)> find_next, xtd::delegate< void()> dialog_closed) |
| Creates find dialog.
|
|
static void | close (intptr dialog) |
| Hides find dialog.
|
|
static void | destroy (intptr dialog) |
| Destroy find dialog.
|
|
static void | show (intptr &dialog) |
| Shows find dialog.
|
|
◆ create()
static intptr xtd::forms::native::find_dialog::create |
( |
intptr |
hwnd, |
|
|
const std::optional< xtd::drawing::point > & |
location, |
|
|
const xtd::string & |
title, |
|
|
const xtd::string & |
find_string, |
|
|
bool |
show_up_down, |
|
|
bool |
show_whole_word, |
|
|
bool |
show_match_case, |
|
|
bool |
downwards, |
|
|
bool |
whole_word, |
|
|
bool |
match_case, |
|
|
xtd::delegate< void(const xtd::drawing::point &, const xtd::string &, bool, bool, bool)> |
find_next, |
|
|
xtd::delegate< void()> |
dialog_closed |
|
) |
| |
|
staticprotected |
Creates find dialog.
- Parameters
-
hwnd | Window handle. |
location | The xtd::drawing::point class that define the location of the find dialog. If no value, the default system location is used. |
title | A string that specifies the title bar caption to display. |
find_string | A string that specifies the text to find. |
show_up_down | A boolean that specifies the visibility of up down box option. |
show_whole_word | A boolean that specifies the visibility of whole word option. |
show_match_case | A boolean that specifies the visibility of watch case option. |
downwards | A boolean that specifies the down option is checked. Otherwise is up. |
whole_word | A boolean that specifies the whole word option is checked. |
show_match_case | A boolean that specifies the match case option is checked. |
find_next | A delegate that will be invoked when find button is clicked. |
dialog_closed | A delegate that will be invoked when the dialog is closed. |
return | The find dialog handle. |
- Warning
- Internal use only
◆ close()
static void xtd::forms::native::find_dialog::close |
( |
intptr |
dialog | ) |
|
|
staticprotected |
Hides find dialog.
- Parameters
-
dialog | Find dialog handle. |
- Warning
- Internal use only
◆ destroy()
static void xtd::forms::native::find_dialog::destroy |
( |
intptr |
dialog | ) |
|
|
staticprotected |
Destroy find dialog.
- Parameters
-
dialog | Find dialog handle. |
- Warning
- Internal use only
◆ show()
static void xtd::forms::native::find_dialog::show |
( |
intptr & |
dialog | ) |
|
|
staticprotected |
Shows find dialog.
- Parameters
-
dialog | Find dialog handle. |
- Warning
- Internal use only
The documentation for this class was generated from the following file: