9#if !defined(OWL_FINDREPL_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
95 LPCTSTR title =
nullptr,
116 FINDREPLACE&
GetFR();
117 void SetFR(
const FINDREPLACE& _fr);
155 LPCTSTR title =
nullptr,
185 LPCTSTR title =
nullptr,
TCommonDialog(TWindow *parent, LPCTSTR title=nullptr, TModule *module=nullptr)
Invokes a TWindow constructor, passing the parent window parent, and constructs a common dialog box t...
virtual THandle PerformCreate() override
TFindDialog(TWindow *parent, TData &data, TResId templateId=0, LPCTSTR title=nullptr, TModule *module=nullptr)
Constructs a TFindDialog object with the given parent window, resource ID, and caption.
The TFindReplaceDialog::TData class encapsulates information necessary to initialize a TFindReplace d...
uint32 Error
If the dialog box is successfully created, Error is 0.
int BuffSize
BuffSize contains the size of the text buffer.
TData(uint32 flags=0, int buffSize=81)
Constructs a TData object with the specified flag value that initializes the status of the dialog box...
TCHAR * ReplaceWith
ReplaceWith contains the replacement string.
TCHAR * FindWhat
Contains the search string.
uint32 Flags
Flags, which indicates the state of the control buttons and the action that occurred in the dialog bo...
TFindReplaceDialog(TWindow *parent, TData &data, TResId templateId=0, LPCTSTR title=nullptr, TModule *module=nullptr)
Constructs a TFindReplaceDialog object with a parent window, resource ID, and caption.
void EvNCDestroy()
Calls TWindow::EvNCDestroy, which responds to an incoming EV_WM_NCDESTROY message which tells the own...
void CmCancel()
EV_COMMAND(IDCANCEL,.
void UpdateData(TParam2 param=0)
Updates the flags from the passed-in parameter.
void SetFR(const FINDREPLACE &_fr)
Sets the underlying system structure for the dialog.
void SetData(TData &data)
Sets the transfer data for the dialog.
void CmReplaceAll()
EV_COMMAND(psh2,.
FINDREPLACE & GetFR()
Returns the underlying system structure for the find and replace dialog.
auto PerformCreate() -> THandle override
void CmFindNext()
EV_COMMAND(IDOK,.
auto DialogFunction(TMsgId, TParam1, TParam2) -> INT_PTR override
Returns true if a message is handled.
TData & GetData()
Returns the transfer data for the find and replace dialog.
virtual void Init(TResId templateId)
Used by constructors in derived classes, Init initializes a TFindReplaceDialog object with the curren...
void CmReplace()
EV_COMMAND(psh1,.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TReplaceDialog(TWindow *parent, TData &data, TResId templateId=0, LPCTSTR title=nullptr, TModule *module=nullptr)
Constructs a TReplaceDialog object with a parent window, resource ID, template name,...
virtual THandle PerformCreate() override
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
TResult DefaultProcessing()
Handles default processing of events, which includes continued processing of menu/accelerators comman...
HWND THandle
TWindow encapsulates an HWND.
ipstream, a specialized input stream derivative of pstream, is the base class for reading (extracting...
Base class for writing streamable objects.
Definition of Common Dialog abstract base class.
Object Windows Library (OWLNext Core).
UINT TMsgId
Message ID type.
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.