System\Windows\Shell\WindowChromeWorker.cs (34)
452private HT _GetHTFromResizeGripDirection(ResizeGripDirection direction)
458return HT.BOTTOM;
460return compliment ? HT.BOTTOMRIGHT : HT.BOTTOMLEFT;
462return compliment ? HT.BOTTOMLEFT : HT.BOTTOMRIGHT;
464return compliment ? HT.RIGHT : HT.LEFT;
466return compliment ? HT.LEFT : HT.RIGHT;
468return HT.TOP;
470return compliment ? HT.TOPRIGHT : HT.TOPLEFT;
472return compliment ? HT.TOPLEFT : HT.TOPRIGHT;
474return HT.NOWHERE;
499return new IntPtr((int)HT.CLIENT);
527HT ht = _HitTestNca(
539if (HT.CAPTION == (HT)wParam.ToInt32())
1014private static readonly HT[,] _HitTestBorders = new[,]
1016{ HT.TOPLEFT, HT.TOP, HT.TOPRIGHT },
1017{ HT.LEFT, HT.CLIENT, HT.RIGHT },
1018{ HT.BOTTOMLEFT, HT.BOTTOM, HT.BOTTOMRIGHT },
1021private HT _HitTestNca(Rect windowPosition, Point mousePosition)
1056HT ht = _HitTestBorders[uRow, uCol];
1058if (ht == HT.TOP && !onResizeBorder)
1060ht = HT.CAPTION;