Advertisement

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

MFC Modeless Dialog Box | VC++ C++ Tutorial | Interaction with the View and Drawing | Part 1 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.

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:

Modeless Dialog Box,Modeless Dialog,Visual Studio,C++,MFC,VC++,lesson,dialog box,modeless,beginner,beginners,intermediate,tutorial,dialog,how to,creating,interaction,create,VS,user defined message,user message,WM_USER,postmessage,sendmessage,draw,TextOut,OnDraw,CreateFont,

Post a Comment

0 Comments