Lines Matching refs:nHandle

314     int nHandle = HitTestHandles(point);  in SetCursor()  local
315 if (nHandle < 0) in SetCursor()
319 nHandle = NormalizeHit(nHandle); in SetCursor()
323 if (nHandle == hitMiddle && !PtInRect(&m_rect,point)) in SetCursor()
327 nHandle = (TrackerHit)9; in SetCursor()
330 ::SetCursor(_afxCursors[nHandle]); in SetCursor()
340 int nHandle = HitTestHandles(point); in Track() local
341 if (nHandle < 0) in Track()
349 SetCursor(hWnd,nHandle); in Track()
350 return TrackHandle(nHandle, hWnd, point, hWndClipTo); in Track()
354 BOOL Tracker::TrackHandle(int nHandle,HWND hWnd,POINT point,HWND hWndClipTo) in TrackHandle() argument
374 GetModifyPointers(nHandle, &px, &py, &xDiff, &yDiff); in TrackHandle()
416 if (nHandle == hitMiddle) in TrackHandle()
422 AdjustRect(nHandle,&m_rect); in TrackHandle()
490 void Tracker::AdjustRect(int nHandle, LPRECT) in AdjustRect() argument
492 if(nHandle == hitMiddle) in AdjustRect()
497 GetModifyPointers(nHandle, &px, &py, NULL, NULL); in AdjustRect()
658 void Tracker::GetHandleRect(int nHandle,RECT* pHandleRect) const in GetHandleRect() argument
668 nHandle = NormalizeHit(nHandle); in GetHandleRect()
679 const AFX_HANDLEINFO* pHandleInfo = &_afxHandleInfo[nHandle]; in GetHandleRect()
737 int Tracker::NormalizeHit(int nHandle) const in NormalizeHit()
739 if (nHandle == hitMiddle || nHandle == hitNothing) in NormalizeHit()
740 return nHandle; in NormalizeHit()
741 const AFX_HANDLEINFO* pHandleInfo = &_afxHandleInfo[nHandle]; in NormalizeHit()
744 nHandle = (TrackerHit)pHandleInfo->nInvertX; in NormalizeHit()
745 pHandleInfo = &_afxHandleInfo[nHandle]; in NormalizeHit()
748 nHandle = (TrackerHit)pHandleInfo->nInvertY; in NormalizeHit()
749 return nHandle; in NormalizeHit()
790 int nHandle, int** ppx, int** ppy, int* px, int* py) in GetModifyPointers() argument
792 if (nHandle == hitMiddle) in GetModifyPointers()
793 nHandle = hitTopLeft; // same as hitting top-left in GetModifyPointers()
802 const AFX_HANDLEINFO* pHandleInfo = &_afxHandleInfo[nHandle]; in GetModifyPointers()
803 if (pHandleInfo->nInvertX != nHandle) in GetModifyPointers()
815 if (pHandleInfo->nInvertY != nHandle) in GetModifyPointers()