m_ctrlEdit.MoveWindow(rect,true)出错
wotur 2005-12-12 11:51:22 m_ctrlEdit为CEdit类型
debug下程序出现异常
void CWnd::MoveWindow(int x, int y, int nWidth, int nHeight, BOOL bRepaint)
{
ASSERT(::IsWindow(m_hWnd));//错误指向这个
if (m_pCtrlSite == NULL)
::MoveWindow(m_hWnd, x, y, nWidth, nHeight, bRepaint);
else
m_pCtrlSite->MoveWindow(x, y, nWidth, nHeight, bRepaint);
}
大虾解析一下,该怎么办!