Compartilhar via


Editing a Message Handler

Once you have defined a message handler, you can go to the member function's definition to add or modify code.

To jump to a member function definition from the dialog editor, double-click a control for which a handler is already defined. This navigates you to the file in which the selected control's message handler is defined.

To jump to a member function definition from Class View, double-click the function name in Class View.

See Also

Tasks

Mapping Messages to Functions

Adding a Member Function (Visual C++)

Adding a Member Variable (Visual C++)

Overriding a Virtual Function (Visual C++)

Reference

Navigating the Class Structure (Visual C++)

Concepts

Adding Functionality with Code Wizards

Adding a Class (Visual C++)

Adding an MFC Message Handler