how to handle message of grandchild window
-
WindowA->DoModal(popup DialogB)
DialogB | |----------ControlA ............| ............-------------ControlAA
i wanna handle ControlAA's message in DialogB and don't wanna write a custom class for ControlA, is it possible? i think i could achieve this by changing the default dialog procudure? how to change the dialog procedure? -- modified at 0:23 Friday 14th October, 2005 -
WindowA->DoModal(popup DialogB)
DialogB | |----------ControlA ............| ............-------------ControlAA
i wanna handle ControlAA's message in DialogB and don't wanna write a custom class for ControlA, is it possible? i think i could achieve this by changing the default dialog procudure? how to change the dialog procedure? -- modified at 0:23 Friday 14th October, 2005does the message first reach the DialogB then the ControlA last arrive ControlAA?if it's true ,could i handle it in DialogB? how?