CFindReplaceDialog::IsTerminating

Call this function within your callback function to determine whether the user has decided to terminate the dialog box.

BOOL IsTerminating() const;

Return Value

Nonzero if the user has decided to terminate the dialog box; otherwise 0.

Remarks

If this function returns nonzero, you should call the DestroyWindow member function of the current find/replace dialog box and set any dialog box pointer variable to NULL. Optionally, you can also store the find/replace text last entered and use it to initialize the next find/replace dialog box.

Example

See the example for CFindReplaceDialog::GetFindString.

Requirements

Header: afxdlgs.h

See Also

Reference

CFindReplaceDialog Class

Hierarchy Chart

CFindReplaceDialog::FindNext

Other Resources

CFindReplaceDialog Members

Change History

Date

History

Reason

May 2009

Added find/replace qualifier to remarks section.

Information enhancement.