message routing
-
I have a dialog with a radio button on it. This dialog is modeless and child of CView class. Can I handle the dialog messages like radio button ON_COMMAND in my view class? I am not receiving these messages in my view class. However, if I add a separate class for dialog, then messages are properly received there.
the fruits of your success will be in direct ratio to the honesty and sincerity of your own efforts in keeping your own records, doing your own thinking and, reaching your own conclusions. ..surviving in autumn..in love with spring..
-
I have a dialog with a radio button on it. This dialog is modeless and child of CView class. Can I handle the dialog messages like radio button ON_COMMAND in my view class? I am not receiving these messages in my view class. However, if I add a separate class for dialog, then messages are properly received there.
the fruits of your success will be in direct ratio to the honesty and sincerity of your own efforts in keeping your own records, doing your own thinking and, reaching your own conclusions. ..surviving in autumn..in love with spring..
modeless dialogs don't have a message loop. so if you want to process the messages than you need a second GUI thread to launch and show the dialog!
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_