/* row and col coordinates for a menu */ menugetxy(dlg) { local l, t, r, b; /* get row/col coords */ (l, t, r, b) = getmenucoords(dlg, -1, -2); return(l, t); }