uLib  User mode C/C++ extended API library for Win32 programmers.
FindDialog Class Reference

#include <uLib/StdDlg.h>

Inheritance diagram for FindDialog:

Detailed Description

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()

Definition at line 173 of file StdDlg.h.

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 ()
 

Constructor & Destructor Documentation

◆ FindDialog()

FindDialog::FindDialog ( HWND  Owner = NULL)

Definition at line 252 of file StdDlg.cpp.

◆ ~FindDialog()

FindDialog::~FindDialog ( )

Definition at line 279 of file StdDlg.cpp.

Member Function Documentation

◆ SetOwner()

void FindDialog::SetOwner ( HWND  Owner,
HINSTANCE  hInst = NULL 
)

Definition at line 272 of file StdDlg.cpp.

◆ Execute()

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.

◆ SendFindNext()

void FindDialog::SendFindNext ( )

Send WM_FindReplace.FR_FINDNEXT to the owner..

Definition at line 309 of file StdDlg.cpp.

Member Data Documentation

◆ hWnd

HWND FindDialog::hWnd

Window handle of the Find dialog .

Definition at line 187 of file StdDlg.h.

◆ What

TCHAR FindDialog::What[256]

Find what...

Definition at line 188 of file StdDlg.h.

◆ With

TCHAR FindDialog::With[256]

Replace with...

Definition at line 189 of file StdDlg.h.


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