Paul Burns
May 25th, 1999, 09:45 PM
this is probably not beginner stuff but i couldn't think of any other place it belongs.
Anyway, i have a dialog bar based on a derived CDialogBar class and a command handler in the MainFrame for a button on this dialog bar.
This all works ok, but now i want to also handle the same button click in the derived CDialogBar class to do some pre-processing before the main frame gets it. but it dont work! the command message seems to get consumed by the first handler the framework finds for it, which in this case is the CDialogBar derived class, and the main frame never gets the message.
so, what i'm trying to say is can i continue routing a command meesage through the rest of the framework even after i've handled it in a particular class?
Anyway, i have a dialog bar based on a derived CDialogBar class and a command handler in the MainFrame for a button on this dialog bar.
This all works ok, but now i want to also handle the same button click in the derived CDialogBar class to do some pre-processing before the main frame gets it. but it dont work! the command message seems to get consumed by the first handler the framework finds for it, which in this case is the CDialogBar derived class, and the main frame never gets the message.
so, what i'm trying to say is can i continue routing a command meesage through the rest of the framework even after i've handled it in a particular class?