Perfect! I did almost exactly what you suggested with slight difference;
void ChildView::OnRButtonDown(UINT, CPoint point) {
CWnd\* pMain = AfxGetMainWnd(); // get to main window
CMenu \*ptrmenu = pMain->GetMenu(); // point to main menu
CMenu \*ptrpopup = ptrmenu->GetSubMenu(1);// point to edit popup
ClientToScreen(&point); // convert coordinates
ptrpopup->EnableMenuItem(CM\_VIEW\_OPTION1, CMViewOption1Enabled ? 0 : MF\_GRAYED);
ptrpopup->TrackPopupMenu(0, point.x, point.y, AfxGetMainWnd(), 0);
}
Now it works great! thanks