MFC Modeless Dialog Box | VC++ C++ Tutorial | Interaction with the View and Drawing | Part 2

preview_player
Показать описание
A Visual Studio MFC tutorial for beginner/intermediate- level MFC programmers.
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.

Members joined to this channel can download the source code in this video.
Source code ID: 19

Thank you.
Рекомендации по теме
Комментарии
Автор

When I close the find dialog box from 'x' button at top in red color. After that, I cannot again open the find dialog box by choosing edit->find.. What could be the error?

shilpaaggarwal
Автор

iam using visual studio 2012 when i declared
iam getting error :: make_unique<FindDlg> undeclared identifier it will support c++11 standard( make_unique)

prasadsolleti
join shbcf.ru