Udostępnij za pośrednictwem


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

Adding a Member Variable

Overriding a Virtual Function

Reference

Navigating the Class Structure

Concepts

Adding Functionality with Code Wizards

Adding a Class

Adding an MFC Message Handler