xtd 0.2.0
Loading...
Searching...
No Matches
xtd::forms::native::find_dialog Class Referencefinal
Inheritance diagram for xtd::forms::native::find_dialog:
xtd::static_object

Definition

Contains find dialog native API.

Namespace
xtd::forms::native
Library
xtd.forms.native
Warning
Internal use only

Protected Static Methods

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.
 

Member Function Documentation

◆ 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
hwndWindow handle.
locationThe xtd::drawing::point class that define the location of the find dialog. If no value, the default system location is used.
titleA string that specifies the title bar caption to display.
find_stringA string that specifies the text to find.
show_up_downA boolean that specifies the visibility of up down box option.
show_whole_wordA boolean that specifies the visibility of whole word option.
show_match_caseA boolean that specifies the visibility of watch case option.
downwardsA boolean that specifies the down option is checked. Otherwise is up.
whole_wordA boolean that specifies the whole word option is checked.
show_match_caseA boolean that specifies the match case option is checked.
find_nextA delegate that will be invoked when find button is clicked.
dialog_closedA delegate that will be invoked when the dialog is closed.
returnThe find dialog handle.
Warning
Internal use only

◆ close()

static void xtd::forms::native::find_dialog::close ( intptr  dialog)
staticprotected

Hides find dialog.

Parameters
dialogFind dialog handle.
Warning
Internal use only

◆ destroy()

static void xtd::forms::native::find_dialog::destroy ( intptr  dialog)
staticprotected

Destroy find dialog.

Parameters
dialogFind dialog handle.
Warning
Internal use only

◆ show()

static void xtd::forms::native::find_dialog::show ( intptr dialog)
staticprotected

Shows find dialog.

Parameters
dialogFind dialog handle.
Warning
Internal use only

The documentation for this class was generated from the following file: