Messages associated with custom control not visible in Class Wizard!

HI,


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?


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

https://www.codeproject.com/Articles/5032/Creating-and-Using-custom-controls-in-VC

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.