[try Beta version]
Not logged in

 
Messages associated with custom control not visible in Class Wizard!

Jan 28, 2023 at 8:41am
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 Jan 28, 2023 at 9:12am
Jan 28, 2023 at 7:45pm
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.
Jan 28, 2023 at 10:18pm
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.