RECT rcListView; ::GetWindowRect(m_editQueryNum.m_hWnd, &rcListView); //获得当前系统坐标 ::MapWindowPoints(NULL, m_hWnd, (LPPOINT)&rcListView, 2);//把操作系统上的坐标转换成当前窗口的坐标