hi,

try to use this code...

if both class AA and class BB are derived from CWnd then you can use
CWnd *pWnd = GetParent();
pWnd->SendMessage(..);

rajs