TopWindow *w = dynamic_cast<TopWindow *>(wins[i]); if(w && w->GetScreenRect().Intersects(dlg.GetScreenRect()) && w->IsTopMost()) { dlg.TopMost(); break; }
Report message to a moderator