Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Mapping Windows Messages to Your Class 

If you need your dialog box to handle Windows messages, override the appropriate handler functions. To do so, use the Properties window to map the messages to the dialog class. This writes a message-map entry for each message and adds the message-handler member functions to the class. Use the Visual C++ source code editor to write code in the message handlers.

You can also override member functions of CDialog and its base classes, especially CWnd.

Community Additions

ADD
Show:
© 2015 Microsoft