The Replace dialog box is similar to the Find dialog box. However, the Replace dialog box has no Direction box and has three additional controls that make it possible for the user to specify the following:
The replacement string
Whether the application should replace the occurrence of the string that is currently highlighted
Whether the application should replace all occurrences of the string
Following is a Replace dialog box.
To display the Replace dialog box, you need to initialize a FINDREPLACE structure and call the ReplaceText function.