示例#1
0
        void IAccessible.accLocation(out int pxLeft, out int pyTop, out int pcxWidth, out int pcyHeight, VarInt varChild)
        {
            int child = varChild;

            if (child == -1)
            {
                _StdAO.accLocation(out pxLeft, out pyTop, out pcxWidth, out pcyHeight, varChild);
            }
            else
            {
                var r = ChildRect(child);
                _w.MapClientToScreen(ref r);
                pxLeft = r.left; pyTop = r.top; pcxWidth = r.Width; pcyHeight = r.Height;
            }
        }