Message forwarding....
-
Hi everyone, I can't find any solution for my problem. I have application based on MFC App. The Doc/View architecture is off. After creating main frame I create main view window. Main view window creates two child windows (top part modeless dialog, and bottom part MSFlexGrid). The main part is top dialog since there will many others dialogs created and deleted dynamicaly. Grid is read only. There is a basic toolbar and Edit menu. The question is that how to enable (write?) message handling to pass cut, copy and paste to dialog. So picking (if enabled; now update command does not work so it is disabled) a copy from menu will copy text from dialof edit control and paste will paste data into control (which has focus). I think this can be done by enabling correct message passing.. So it will be similar to doc/view mechanism. I tried with OnCmdMsg but I stuck on stack overflow. I'm asking for help since I can't figure out any particular category to search in. Thanks for any help. regards, slawek Slawek