}
	void CenterOnPoint(POINT pt)	{		T* pT = static_cast<T*>(this);		RECT rect;		pT->GetClientRect(&rect);		int xOfs = pt.x - (rect.right / 2) + m_ptOffset.x;		if(xOfs < 0)			xOfs = 0;		else 		{			int xMax = max(m_sizeAll.cx - rect.right, 0);			if(xOfs > xMax)				xOfs = xMax;		}				int yOfs = pt.y - (rect.bottom / 2) + m_ptOffset.y;		if(yOfs < 0)			yOfs = 0;		else 		{			int yMax = max(m_sizeAll.cy - rect.bottom, 0);			if(yOfs > yMax)				yOfs = yMax;		}		CScrollImpl< T >::SetScrollOffset(xOfs, yOfs);	}