Public Types | |
enum | { NONE, FIND, REPLACE } |
A set of constants used to track which dialog is currently open. More... | |
Public Member Functions | |
this (WindowBase p, FindReplaceHandler handler) | |
Constructs a new FindReplaceDialog. | |
void | showFind () |
Displays the Find dialog. | |
void | showReplace () |
Displays the Replace dialog. | |
bool | findNext () |
void | close () |
Closes the Find or Replace dialog. | |
Properties | |
HWND | handle () |
The Windows handle of the currently displayed dialog box, or null if the dialog box is not shown at the moment. | |
ushort | findLength () |
The maximum length of the Find What text. | |
ushort | findLength (ushort len) |
The maximum length of the Find What text. | |
ushort | replaceLength () |
The maximum length of the Replace With text. | |
ushort | replaceLength (ushort len) |
The maximum length of the Replace With text. | |
string | findWhat () |
The text to search for. | |
string | findWhat (string f) |
The text to search for. | |
string | replaceWith () |
The text with which to replace the found text. | |
string | replaceWith (string r) |
The text with which to replace the found text. | |
int | nowShowing () |
Which dialog box is currently displayed. |
The Find and Replace dialogs differ from the other Windows common dialogs in that they are modeless and that proceeding with the action does not close the dialog. A consequence is that the API for these dialogs is very different from that for the other common dialogs.
anonymous enum |
smjg.libs.sdwf.findreplace.FindReplaceDialog.this | ( | WindowBase | p, | |
FindReplaceHandler | handler | |||
) |
Constructs a new FindReplaceDialog.
p | the parent window of the dialog. | |
handler | handler object to receive messages from the dialog. |
void smjg.libs.sdwf.findreplace.FindReplaceDialog.showFind | ( | ) |
void smjg.libs.sdwf.findreplace.FindReplaceDialog.showReplace | ( | ) |
bool smjg.libs.sdwf.findreplace.FindReplaceDialog.findNext | ( | ) |
void smjg.libs.sdwf.findreplace.FindReplaceDialog.close | ( | ) |
Closes the Find or Replace dialog.
HWND smjg.libs.sdwf.findreplace.FindReplaceDialog.handle | ( | ) |
ushort smjg.libs.sdwf.findreplace.FindReplaceDialog.findLength | ( | ) |
The maximum length of the Find What text.
ushort smjg.libs.sdwf.findreplace.FindReplaceDialog.findLength | ( | ushort | len | ) |
The maximum length of the Find What text.
ushort smjg.libs.sdwf.findreplace.FindReplaceDialog.replaceLength | ( | ) |
The maximum length of the Replace With text.
ushort smjg.libs.sdwf.findreplace.FindReplaceDialog.replaceLength | ( | ushort | len | ) |
The maximum length of the Replace With text.
string smjg.libs.sdwf.findreplace.FindReplaceDialog.findWhat | ( | ) |
The text to search for.
string smjg.libs.sdwf.findreplace.FindReplaceDialog.findWhat | ( | string | f | ) |
The text to search for.
string smjg.libs.sdwf.findreplace.FindReplaceDialog.replaceWith | ( | ) |
The text with which to replace the found text.
string smjg.libs.sdwf.findreplace.FindReplaceDialog.replaceWith | ( | string | r | ) |
The text with which to replace the found text.
int smjg.libs.sdwf.findreplace.FindReplaceDialog.nowShowing | ( | ) |
uint smjg.libs.sdwf.findreplace.FindReplaceDialog._structSize = FINDREPLACEA.sizeof |
HINSTANCE smjg.libs.sdwf.findreplace.FindReplaceDialog._instanceHandle = null |
uint smjg.libs.sdwf.findreplace.FindReplaceDialog.flags = FR.DOWN |
A bitwise combination of flags to customise the Find or Replace dialog.
LPTSTR smjg.libs.sdwf.findreplace.FindReplaceDialog._findWhat = null |
LPFRHOOKPROC smjg.libs.sdwf.findreplace.FindReplaceDialog._hookFunction = null |
LPCTSTR smjg.libs.sdwf.findreplace.FindReplaceDialog._templateName = null |
FINDREPLACEA smjg.libs.sdwf.findreplace.FindReplaceDialog.spec |
This dialog specification as a Windows FINDREPLACEA structure.