CFormView, CDialog, and events...
Posted on 1997-08-13
Environment: VC++ 5.0 and Windows NT 4.0
I'm creating a CFormView based MDI application and have created a CDialog based class to handle the processing for the dialog itself. My question involves the handling of events.
If I add an event handler (for a button on the dialog for example) to the CDialog based class, I don't seem to be able to receive notifications from the button. However, if I place the event handler in the CFormView based class, I can
receive the event from the button.
Is there any way to have the CDialog based class handle the events without manually passing the events to the class thru the CFormview based class?
Any suggestions would be helpful.
Thanks in advance,