Ejemplo n.º 1
0
        public void SetRect(uint nFlags, Common.RECT rc)
        {
            uint hr = VisualSetRect(this.pgad, nFlags, rc);

            if (f(hr))
            {
                throw new DUserException(hr);
            }
        }
Ejemplo n.º 2
0
        public void GetRect(uint nFlags, ref Common.RECT rcPxl)
        {
            uint hr = VisualGetRect(this.pgad, nFlags, rcPxl);

            if (f(hr))
            {
                throw new DUserException(hr);
            }
        }
Ejemplo n.º 3
0
        public void SetRect(uint nFlags, int x, int y, int w, int h)
        {
            Common.RECT rc = new Common.RECT();
            rc.left   = x;
            rc.top    = y;
            rc.right  = x + w;
            rc.bottom = y + h;
            uint hr = VisualSetRect(this.pgad, nFlags, rc);

            if (f(hr))
            {
                throw new DUserException(hr);
            }
        }
Ejemplo n.º 4
0
 public static extern uint VisualSetRect(int pgvThis, uint nFlags, Common.RECT prcPxl);