System\Windows\Shell\WindowChromeWorker.cs (34)
457private HT _GetHTFromResizeGripDirection(ResizeGripDirection direction)
463return HT.BOTTOM;
465return compliment ? HT.BOTTOMRIGHT : HT.BOTTOMLEFT;
467return compliment ? HT.BOTTOMLEFT : HT.BOTTOMRIGHT;
469return compliment ? HT.RIGHT : HT.LEFT;
471return compliment ? HT.LEFT : HT.RIGHT;
473return HT.TOP;
475return compliment ? HT.TOPRIGHT : HT.TOPLEFT;
477return compliment ? HT.TOPLEFT : HT.TOPRIGHT;
479return HT.NOWHERE;
504return new IntPtr((int)HT.CLIENT);
532HT ht = _HitTestNca(
544if (HT.CAPTION == (HT)wParam.ToInt32())
1019private static readonly HT[,] _HitTestBorders = new[,]
1021{ HT.TOPLEFT, HT.TOP, HT.TOPRIGHT },
1022{ HT.LEFT, HT.CLIENT, HT.RIGHT },
1023{ HT.BOTTOMLEFT, HT.BOTTOM, HT.BOTTOMRIGHT },
1026private HT _HitTestNca(Rect windowPosition, Point mousePosition)
1061HT ht = _HitTestBorders[uRow, uCol];
1063if (ht == HT.TOP && !onResizeBorder)
1065ht = HT.CAPTION;