Contains replace 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, const xtd::string &replace_string, bool show_whole_word, bool show_match_case, bool whole_word, bool match_case, xtd::delegate< void(const xtd::drawing::point &, const xtd::string &, const xtd::string &, bool, bool)> find_next, xtd::delegate< void(const xtd::drawing::point &, const xtd::string &, const xtd::string &, bool, bool, bool)> replace, xtd::delegate< void()> dialog_closed) |
| Creates replace dialog.
|
|
static void | close (intptr dialog) |
| Hides replace dialog.
|
|
static void | destroy (intptr dialog) |
| Destroy replace dialog.
|
|
static void | show (intptr &dialog) |
| Shows replace dialog.
|
|
◆ create()
static intptr xtd::forms::native::replace_dialog::create |
( |
intptr |
hwnd, |
|
|
const std::optional< xtd::drawing::point > & |
location, |
|
|
const xtd::string & |
title, |
|
|
const xtd::string & |
find_string, |
|
|
const xtd::string & |
replace_string, |
|
|
bool |
show_whole_word, |
|
|
bool |
show_match_case, |
|
|
bool |
whole_word, |
|
|
bool |
match_case, |
|
|
xtd::delegate< void(const xtd::drawing::point &, const xtd::string &, const xtd::string &, bool, bool)> |
find_next, |
|
|
xtd::delegate< void(const xtd::drawing::point &, const xtd::string &, const xtd::string &, bool, bool, bool)> |
replace, |
|
|
xtd::delegate< void()> |
dialog_closed |
|
) |
| |
|
staticprotected |
Creates replace dialog.
- Parameters
-
hwnd | Window handle. |
location | The xtd::drawing::point class that define the location of the replace 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. |
replace_string | A string that specifies the replaced text. |
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. |
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. |
replace | A delegate that will be invoked when replace and replace all buttons are clicked. |
dialog_closed | A delegate that will be invoked when the dialog is closed. |
return | The replace dialog handle. |
- Warning
- Internal use only
◆ close()
static void xtd::forms::native::replace_dialog::close |
( |
intptr |
dialog | ) |
|
|
staticprotected |
Hides replace dialog.
- Parameters
-
dialog | Find dialog handle. |
- Warning
- Internal use only
◆ destroy()
static void xtd::forms::native::replace_dialog::destroy |
( |
intptr |
dialog | ) |
|
|
staticprotected |
Destroy replace dialog.
- Parameters
-
dialog | Find dialog handle. |
- Warning
- Internal use only
◆ show()
static void xtd::forms::native::replace_dialog::show |
( |
intptr & |
dialog | ) |
|
|
staticprotected |
Shows replace dialog.
- Parameters
-
dialog | Find dialog handle. |
- Warning
- Internal use only
The documentation for this class was generated from the following file: