|
uLib
User mode C/C++ extended API library for Win32 programmers.
|
#include <uLib/StdDlg.h>
FindDialog is a slightly customized Find dialog.
It is invoked with an Execute() call for FD_FIND, FD_REPLACE, or FD_CLOSE.
Note: This is a modeless dialog that sends WM_FindReplace messages to it's owner.
What is the buffer for lpstrFindWhat.
With is the buffer for lpstrReplaceWith.
See also [MSDN] FINDREPLACE, FindText(), ReplaceText()
Public Data | |
| HWND | hWnd |
| TCHAR | What [256] |
| TCHAR | With [256] |
Public Functions | |
| FindDialog (HWND Owner=NULL) | |
| void | SetOwner (HWND Owner, HINSTANCE hInst=NULL) |
| ~FindDialog () | |
| bool | Execute (UINT Mode) |
| void | SendFindNext () |
| FindDialog::FindDialog | ( | HWND | Owner = NULL | ) |
Definition at line 252 of file StdDlg.cpp.
| FindDialog::~FindDialog | ( | ) |
Definition at line 279 of file StdDlg.cpp.
| void FindDialog::SetOwner | ( | HWND | Owner, |
| HINSTANCE | hInst = NULL |
||
| ) |
Definition at line 272 of file StdDlg.cpp.
| bool FindDialog::Execute | ( | UINT | Mode | ) |
Open the Find or Replace dialog. Mode is one of FD_FIND, FD_REPLACE, or FD_CLOSE
Definition at line 284 of file StdDlg.cpp.
| void FindDialog::SendFindNext | ( | ) |
Send WM_FindReplace.FR_FINDNEXT to the owner..
Definition at line 309 of file StdDlg.cpp.