::SetWindowPos ( AfxGetMainWnd ()->m_hWnd ,HWND_TOPMOST, -1, -1, -1, -1, SWP_NOMOVE|SWP_NOSIZE); //或 //SetWindowPos ( &wndTopMost , -1, -1, -1, -1, SWP_NOMOVE| SWP_NOSIZE);2.取消置顶
SetWindowPos ( &wndNoTopMost , -1, -1, -1, -1, SWP_NOMOVE| SWP_NOSIZE);



