Skip to content

Commit 1b6bd6e

Browse files
author
mikeblome
committed
sins of carelessness
1 parent a5ed606 commit 1b6bd6e

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/mfc/reference/adding-an-mfc-message-handler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.assetid: 4251cfce-76ca-443d-bd2f-6303afa6d942
77
---
88
# Adding an MFC Message Handler
99

10-
You can use the [Class Wizard](reference/mfc-class-wizard.md) or the **Properties** window in **CLass View** to add a message handler (a member function that handles Windows messages) to a class and map Windows messages to the message handler. You can also add [an event handler for any dialog box control](../../windows/adding-event-handlers-for-dialog-box-controls.md).
10+
You can use the [Class Wizard](mfc-class-wizard.md) or the **Properties** window in **CLass View** to add a message handler (a member function that handles Windows messages) to a class and map Windows messages to the message handler. You can also add [an event handler for any dialog box control](../../windows/adding-event-handlers-for-dialog-box-controls.md).
1111

1212
By using the **Class Wizard** or **Properties** window (in **Class View**) to define message- and event-handling functions, you can automatically update the message-dispatch table (or message map) and your class header file.
1313

docs/mfc/reference/cdialog-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Dialog boxes are of two types: modal and modeless. A modal dialog box must be cl
5555

5656
A `CDialog` object is a combination of a dialog template and a `CDialog`-derived class. Use the dialog editor to create the dialog template and store it in a resource, then use the Add Class wizard to create a class derived from `CDialog`.
5757

58-
A dialog box, like any other window, receives messages from Windows. In a dialog box, you are particularly interested in handling notification messages from the dialog box's controls since that is how the user interacts with your dialog box. Use the [Class Wizard](reference/mfc-class-wizard.md) to select which messages you wish to handle and it will add the appropriate message-map entries and message-handler member functions to the class for you. You only need to write application-specific code in the handler member functions.
58+
A dialog box, like any other window, receives messages from Windows. In a dialog box, you are particularly interested in handling notification messages from the dialog box's controls since that is how the user interacts with your dialog box. Use the [Class Wizard](mfc-class-wizard.md) to select which messages you wish to handle and it will add the appropriate message-map entries and message-handler member functions to the class for you. You only need to write application-specific code in the handler member functions.
5959

6060
If you prefer, you can always write message-map entries and member functions manually.
6161

10.7 KB
Loading

docs/mfc/reference/mfc-add-class-wizard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.assetid: ad3b0989-d307-43b2-9417-3f9a78889024
99

1010
Use this code wizard to add a class to an existing MFC project, or to add a class to an ATL project that supports MFC. You can also add MFC classes to Win32 projects that have MFC support. The features you specified when you created your project determine the options available in this dialog box. To access the wizard, click on **Add Class** in [Class Wizard](mfc-class-wizard.md).
1111

12-
![Add MFC Class Wizard](../media/add-mfc-class-wizard.png "Add MFC Class Wizard")
12+
![Add MFC Class Wizard](media/add-mfc-class-wizard.png "Add MFC Class Wizard")
1313

1414
## Names
1515

0 commit comments

Comments
 (0)