Messages associated with custom control not visible in Class Wizard!


I am using MFC with VS2022.

I have a custom control grid and when I create an object of it in a dialog, the possible messages associated with its type are not displayed in the class wizard (nor any where else)!! The intention is to handle these messages!

Why? How does class wizard know about which notify messages are associated with a control?

Where does it take it from?

Last edited on
this tutorial has a section on adding the messages.

its old, so some of the buttons/menus/clicks may have changed, but the general idea should be really close.
Thank you jonnin. However we can't add notification messages that are sent to the parent window with this sample you have offered. The question still remains open....

Please send some feedback!
Topic archived. No new replies allowed.