Esempio 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);
            }
        }
Esempio 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);
            }
        }
Esempio 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);
            }
        }
Esempio n. 4
0
 public static extern uint VisualSetRect(int pgvThis, uint nFlags, Common.RECT prcPxl);