In this lesson we learn how to create a simple Modeless Dialog Box in Visual Studio MFC for interacting with the view. The View is a simple text viewer and with a Find- Dialog Box the user can find a line with a specific text in it. The line is then highlighted. Works similarly as a Notepad Find Dialog Box.
Part 1: Creating the simple text viewer from the scratch
Part 2: Creating a Modeless Find-Dialog Box and testing that it interacts with the View
Part 3: Making the Find Next-functionality working: Finds next text from the document and highlights the line with a red marker. Finds all the occurences in the document.
So if you want to only see how the Modeless Dialog Box is created and how it communicates with the View, Part 2 does that.
To learn how to create a Modal Dialog Box:
Explaining how to get the size of the text in pixels:
You can donate me:
This helps me to create future tutorial videos. Thank you.
I also do private C++ tutoring and software development:
0 Comments